The U.S. president’s comments come as tempers flare in Washington over the U.K.’s stance on the conflict.