The political logic makes sense - Clintoon did it too.
Here's the media spin on why: https://www.pbs.org/newshour/politics/why-harris-is-promoting-domestic-oil-drilling-at-the-same-time-as-clean-energy-jobs
IMHO this is a reversal of what he did literally his first week in office issuing EO's to make it harder to drill for natural gas and oil: https://www.whitehouse.gov/briefing-room/presidential-actions/2021/01/20/executive-order-protecting-public-health-and-environment-and-restoring-science-to-tackle-climate-crisis/. Remember the price of gas spiking even before Putin invaded Ukraine (which the media blamed high gas prices on)? Bull crap like that is why I now have tons of solar and my house in now all-electric and one of our two cars is an EV (which we do almost all of our local driving in). Mine and the missus' retirement financial planning is simpler if our energy doesn't cost us as much because most of our energy is homemade.