Another part of the equation is that the station owners are charging for what they think the next shipment might be, not what they actually paid for what you’re pumping right now.
The emperor’s new clothes.
Oh, and NOT all oil is used for gas.
Oh, and NOT all oil is used for gas....
True, in fact the majority of an average barrel of oil is used for other products. Depending on the quality of the crude the percentage used for gasoline can vary widely.