Gas tax is politically toxic. But maybe an excise tax on oil profits? (If you could come up with a Constitutional way to tax only energy exports, that would be better still.)
Nevermind the fact that by moving it from gas to oil companies you're also then taxing "energy" more generally and it's gonna show up across the entire economy.
Respectfully, they are.
Tougher to notice. And you can pitch it as a windfall tax.
The only constitutional issue with taxing energy exports is gettin Congress to pass the law and POTUS to sign it.
“No Tax or Duty shall be laid on Articles exported from any State” [1].
[1] https://constitution.congress.gov/constitution/ Art. I § 9
They can just outlaw exporting energy, but not tax it.