As the various Mastodon communities are independently managed and moderated, each admin sets their policies, which could differ from one community to another. It’s also difficult to ensure strong security under this kind of setup.
However, many users who choose Mastodon over a mainstream site do so for less personal data collection, which the platform certainly does provide.