Of course it’s the website fault, but just like government don’t let companies do whatever they want (all the time) the have to force websites to not do certain things, a warning certainly doesn’t do much when people keep clicking “accept”.
It’s the EU’s fault that there is that warning in the pages(which is what the OP is talking about in how clean websites are) a warning that doesn’t fix the real problem, just puts a sign on it.