President Trump invoked this authority against countries that were hotbeds of international terrorism and that were not cooperating with the United States in providing basic information about travelers coming from these countries.