The oil companies didn't have to pay for their own security and they didn't have to pay for the true cost of oil.
It's also very expensive to maintain a naval and coast guard fleet to protect oil tankers. The oil companies should be paying for it.
If they had to pay for those things- their prices would be much higher. So their prices are subsidized by tax payers.