The warning came after Trump said tensions with Iran had escalated again following Tehran’s rejection of Washington’s latest demands.