Expanding oil exploration, production, and fracking all contribute to a vibrant economy. An economy that is setting conditions to increase EV sales and charging infrastructure. True there is a short term environmental cost to this, but it's better than the longer term environmental cost of a bad economy where people can't afford EVs and manufacturers can't afford to reach needed economies of scale in EV production to compete with ICEs and cancel their EV endeavors or go bankrupt. If the economy continues to improve and people are able to afford new vehicles, it is expected that EV and battery production will break even with the price of a comparable ICE vehicles later this decade and perhaps be $1000s lower by 2030. This absolutely won't happen if the economy goes into another great recession and/or the government continues to be too aggressive with energy production. California has been too aggressive restricting their electrical generation infrastructure and now people will not be able to recharge their EVs reliably. This will hurt EV sales and make ICE sales more attractive.
The same can be said for clean energy generation. It's another bootstrapping problem much like the EV example I gave above, but also somewhat dependent on EVs succeeding. If the above EV scenario comes to fruition, batteries will be very cheap next decade and will likely continue to get cheaper every decade after. This will allow for solar and wind energy storage at a large enough scale that can replace dirty baseload power generating plants which they cannot do currently without energy storage.