This is thanks to the latest RCS standard that includes E2EE based on the Messaging Layer Security (MLS) protocol. It basically enables interoperable encryption between different platform providers.