Oil surged as much as 3.3% after US attacks on Iran’s main export hub marked another escalation in the war, threatening crucial energy supplies from the region to global consumers.