Because in a democratic society the people can decide who is responsible for what, that's the price of admission you pay to live in such a society.

That's just what the poster above decided, not "the people" / legislation. Key words "I think" in the comment. Asking that person why they are going after datacenters specifically is a valid question.

There is a "good" answer; data centers are both unpopular and temporarily rolling in cash, making them attractive targets for punitive taxation.

I'm one of those people and I don't understand why we would single out data centers, a largely clean industry, to clean up dirty, industrial areas.

Then get more people to vote with you, it seems like most residents do not agree.

Better do some door knocking to change their minds.