These things only exist because some people just allow it. They allow it and occasionally buy something, enabling the entire hellhole we now all live in.
These things exist because companies and the people working there are predatory assholes. Let's not make the victims to be the villains and get off your high horse. Most people don't even know how.
Which is nice, but when the offender is, say, a security device that sends event notification but ALSO sends marketing spam, with no granular control over types of notifications, it's not a great situation.
Android has granular control over notifications, which is great because some apps that I need send a lot of marketing notifications that I don't care about but I cannot get rid of essential notifications.
Not all apps do it and some push all notifications through a single channel (and some manufacturers hide the granularity options in advanced settings, I'm looking at you Samsung) but at least it exists.
iOS is the same, though I’ve found that the truly granular control depends on the vendor exposing the control in the app. Scummy companies—most of them—make notifications all or nothing.
It’s not JUST marketing either. I don’t want to be interrupted with a reminder to check my lint filter. I do that literally every time I change the laundry. But I can’t disable that pointless alert without disabling ALL alerts (and you can rightly question whether any alerts from a dryer have value, but that’s a different discussion).
"""Push Notifications must not be required for the app to function, and should not be used to send sensitive personal or confidential information. Push Notifications should not be used for promotions or direct marketing purposes unless customers have explicitly opted in to receive them via consent language displayed in your app’s UI, and you provide a method in your app for a user to opt out from receiving such messages. Abuse of these services may result in revocation of your privileges."""
Explicitly promotional push isn't allowed on iPhone to begin with. Only exception is if the user enables it via some setting inside your app, separate from the regular permission dialog, which is really unlikely.
Of course you can just pass off promotional stuff as not promotional, but same on Android, and you have to be sly about it.
You wouldn't believe the volume of actual advertisements that show up as push notifications on my wife's phone