Some apps provide genuinely useful notifications (like shipping updates), but also send spammy notifications that are just ads.
Because then you'd have no apps left for food delivery or rides, to name a few categories.
I used to uninstall food delivery apps when not using them, but found that just killing their ability to notify me was equally effective without the hassle of re-signing in every time I needed to use them.