Because it's clearly not easy to run a service without these types of practices. If you want to get ad revenue then you have to have them.
Even the EU commission's own website has the pop up: https://europa.eu/
And they don't even have to worry about paying the bills for the website.