There have been a lot of sins committed by the oil industry, like in Texas there are lot of leaking, "orphan" wells where nobody ended up being responsible for capping the well and doing the clean up. This goes back to the 1950s and earlier. I think things are somewhat better now.
There's literally zero upside to a community to building a data center. Electricity costs go up, there's noise pollution, there are no jobs, water rates go up and there is water pollution.
Honestly, fracking is a better deal than a data center.