The surge in oil prices took companies by surprise. They didn't expect the windfall profits and were ill prepared to handle the instant wealth. It's like winning the lottery.
It's cheaper for companies to buy production and reserves on Wall Street than go drill for it. It's instant gratification.