X and Threads do this too. I wish they all wouldn't, messing with screenshots should only ever be done when preventing them as a security measure.
They shouldn't even disallow screenshots from a security measure. If the user wants to take a screenshot of their bank account info or a password manager they should. Maybe an additional permission for screenshare. No device has protection against a second device taking a recording so it's really just security theater
At least on rooted Android devices you can bypass that.