The heavy anti-datacenter campaigning was primarily aimed at scaring votes out of old people and other low-information voters, and was largely successful.
I personally observed this. A lot of them don't even know what data centers are, just that they are bad and will steal their electricity and make their arthritis worse.
All politicians regardless of party are bought and paid for.
Literally every instance I've seen where the angry townspeople fought against a data center, the town council unanimously ruled against them without a vote, like the kangaroo court in The Godfather Part 2.