The U.S. oil and natural gas industry long fought for and in the last decade finally won release from federal restrictions that limited exports. The ostensible reason was that because of the so-called "shale revolution" in the country's oil and gas fields, the United States would have plenty of oil and gas to spare for export.
The real reason behind the push was that the oil and gas industry wanted what almost every other industry in American already had: The right to sell their products to the highest bidders no matter where they lived on the globe.
This made it almost certain that as U.S. prices rose to match world prices, U.S. consumers would feel the pain. And, since energy prices affect everyone who votes, they are always politically consequential.
So, it is unsurprising that with U.S. regular gasoline prices over $5 per gallon President Joe Biden lashed out at U.S. oil companies—which are having one of their best years ever—saying they need to increase production of refined oil products. The companies have responded that their refineries are running at close to maximum capacity and so there is not much they can do in the short run.