If Oil Companies Control Prices, Why Do They Ever Lose Money?

High oil prices are currently driving inflation and leading to high oil company profits. Yet many people still have cause and effect reversed.