US GDP per capita: ~$69k
Canada GDP per capita: ~$52k
Mexico GDP per capita: ~$10k[1]
China has a similar GDP per capita, but makes up for it in volume. China's total GDP is closer to the US's than to Mexico's.[2]
That, combined with the fact that Mexico seems to have a serious issue with cartels within their borders[3], and the constant flood of illegal border crossings gives the impression of a state that isn't particularly well run, despite the government otherwise being a functioning democracy.
Basically, I think if it got a better handle on its organized crime problem Mexico would be viewed much more favorably by the average American citizen. Hopefully the recent increase in economic activity and resulting GDP boost will help with that.
[1]: https://www.wolframalpha.com/input?i=US+GDP+per+capita%2C+Ca...
[2]: https://www.wolframalpha.com/input?i=US+GDP%2C+Canada+GDP%2C...
[3]: https://travel.state.gov/content/travel/en/traveladvisories/...