Matthew Yglesias of the Center for American Progress notes the pitfalls of assuming world leaders' attitudes towards the United States are their chief motivation:
"[There is a] tick in American discourse of labeling foreign leaders “pro-American” or “anti-American” as if America is likely to be the primary thing on their mind. But obviously when you’re talking about actors on the other side of the world they’re probably mostly worried about other stuff. People in Pakistan are thinking about India. Indians are thinking about Pakistan and China. Not that they don’t have opinions about the United States, but these kind of considerations are secondary to the main point.
"[I]t’s wrong to look at every situation around the world where some country’s perception of its interests goes against what the United States wants to see happen and then label that behavior as “anti-American.” Countries are going to do things we [Americans] don’t like, in which case it will often be appropriate for us to push-back. But absent actual evidence that the thing we don’t like is genuinely being undertaken with specific anti-American intent there’s no reason to pathologize behavior as driven by an anti-American agenda."