There are tons of apps that offer end-to-end encrypted messaging between iOS and Android (and Windows, MacOS, Linux fwiw). Apple offers APIs to allow you to associate your contacts with their ID in those apps so you can easily message them or share photos and files as part of iOS. The thing they are accused of is that they provide a great experience for users in their ecosystem on top of that.