The state may be phasing out gas-powered cars, but it’s still legal to put an oil well right next to an elementary school