The policy drew a backlash from allied leaders including German Chancellor Angela Merkel, drew reciprocal responses from governments in Iran and Iraq, and got criticized by some lawmakers, including Arizona Senator John McCain.