The web has gotten worse since cookie prompts and websites lost a bit of competitiveness to mobile apps because of these annoying prompts. Load a website on a phone screen and 30% of the screen is covered by an intrusive cookie prompt.
As an industry, we learned a long time ago that people hate popups. European Union decided to make a law that causes most websites to show a popup or face potentially bankruptcy level of financial punishment.