The International Energy Agency said on Friday that the latest escalation in confrontations between the United States and Iran could undermine its forecast of a large surplus in the oil market next year, at a time when global supplies rose in June with the reopening of the Strait of Hormuz, but remained below pre-war levels.