Oil companies have been sitting on leases for a while. If they wanted to, they could be doing lots more drilling and exploring right now as we speak. They aren't hamstrung at all, that's a politically motivated exaggeration and of course oil companies are always happy to fuel the narrative since it deflects blame away from them.
Research it yourself (not via political talk shows or propaganda sites).
Wanna point fingers, point them at the oil companies for riding this highly profitable time while saving on expenses right now. Read up on the different in oil company profits between 2022 and a decade or two ago. You'll see the reality pretty quickly and it's not what you're seeing or hearing or reading about when people point fingers at government.
Except I don't blame oil companies and won't personally point fingers at them for doing what they're doing. Because we're a capitalist society. And oil companies are in business to maximize profitability for their shareholders, not cater to consumer's desire for the lowest gas prices. And for government to intervene with oil company profit-seeking would be too socialist for my tastes.
People want to see lower gas prices, they need to stop creating so much demand. The pandemic caused a lowering of gas prices for a while due to massively reduced demand. And oil companies responded by reducing production and exploration and sitting on leases.
OTOH, if you are for socialist governance, then perhaps you advocate for government control of oil companies. Do that and you'd see an immediate cut in gas prices because every politician across the country always wants to see lower prices for everything, especially prior to elections. Higher prices hurt politicians as much as consumers.