That's why Apple went so hard after Beeper Plus, a service that enhanced iMessage's security by making conversations between Apple and Android users as private as chats that were confined to Apple users:
It's why Elon Musk periodically freaks out and suspends users who list their Mastodon userids in their Twitter bios:
https://techcrunch.com/2022/12/15/elon-musk-suspends-mastodon-twitter-account-over-elonjet-tracking/
23/