The US president’s comments have been condemned by international allies, including UK veterans and politicians.