Oil surged after Hamas’ surprise attack on Israel over the weekend threatened to destabilize the Middle East, injecting fresh geopolitical risk into a market that’s been roiled by OPEC+ supply cuts, declining inventories, and concerns that lofty prices may destroy demand.