Earlier quoted context omitted.
Again, only because of incompetent and/or immoral developers.
How else can you even store a consent for cookies/localStorage? You can go around calling people immoral and incompetent, but what is the actual way to ask for permission to store data? If your contention is that it is immoral or incompetent to store any data except through some specific user interaction related to those data, sure that's an opinion. But if your job is literally "tell me which other pages users go to…
You said "the cookie thing just means that if I want to use these websites, I have to enable cookies so that I can dismiss the cookie dialog".
But if cookies are disabled, then there's no point in asking for consent. There should be no cookie banner in this case.