Britain’s prime minister called the comments “insulting” and “appalling,” fueling concerns across Europe about U.S. reliability as an ally.