It's not easy to keep fully-assembled in my brain... and I've been around a while... but if I buy a contract for oil to be delivered at a later date, I can sell the contract before that date and use the cash to buy oil at a later delivery date.
That's the oil-market.
Prices at the pump follow-along like a dog on a 30-foot string.