They're talking about a windfall profits tax in the US. Which is stupid. I'm old enough to remember when they tried all these gimmicks in the 1970s. I've also taken econ courses at the undergraduate and graduate levels.
The people who benefit from oil company profits are the stockholders, and I guarantee that if you have a pension plan then you are invested in oil company stock. Are you willing to have a smaller pension payout in the future because the government essentially double-taxed your investments? Not to mention that oil companies lost huge amounts of money during covid that they are only now recouping.
Worldwide demand for oil is up. I say again, demand is up, everywhere. The supply, mainly due to green policies, is down. The law of supply and demand is called a law because it applies always, everywhere, in every circumstance. Demand is up, supply is constrained, prices go up. It's always worked that way.
Governments can only do a few things to fix this. One is listening less to the green types and working to increase supply. Green energy and alternative sources of energy are great, and we need to keep researching them, but the technology we currently have is not developed enough to replace fossil fuels for an earth with 8 billion people. We will get there in time, but making arbitrary decisions like "ending fossil fuels by 2030" has as much chance of happening as harnessing unicorn farts to power the world. Put more simply, what can't happen won't happen.
So if governments won't increase the supply, the only other alternative is to reduce demand, which they are doing by raising interest rates to cause a recession. In a recession income goes down, and with it demand. Problem solved, but it is a painful solution that hurts the vulnerable in society the most.