Trump said the cancellation of the trip did not mean the United States would resume fighting with Iran.