US government agencies have allegedly been monitoring users through Apple and Google push notifications, according to Senator Wyden. https://www.reuters.com/technology/cybersecurity/governments-spying-apple-google-users-through-push-notifications-us-senator-2023-12-06/
The problem here is that many app developers are pushing sensitive data through push messaging services. While providers offer e2e encryption for these messages, many developers don’t bother using it. This means the unencrypted data transits provider servers.
For example, this Android dev center article describes how to use Firebase Cloud Messaging, and specifically recommends adding message content to the payload. End-to-end encryption is possible but requires extra work and libraries, it isn’t native. https://android-developers.googleblog.com/2018/09/notifying-your-users-with-fcm.html