A new Pew Research Center survey shows that global public opinion has shifted in favor of China over the United States in 25 of 36 countries surveyed, including Canada and Mexico—a remarkable reversal attributed partly to tensions between the Trump administration and its traditional allies.