That's odd. I just checked this (running current version of Android Pie) and I could screenshot both my Bank of America app and my credit union.
I wonder if this is something the apps themselves have to disable or something in certain versions of Android itself.