So many things are simply a matter of point of view -- in Veracruz, the Plaza of the Heroes commemorates the valiant defense by the Mexican naval forces against four different invasions. Two were invasions by the U.S. -- one in 1847 -- during the Mexican-American War. That one did not surprise me.
That event never quite made it to the history books I studied in high school and college. It does not seem to make it to even the most politically inclusive undergraduate history texts (U.S. History after the Civil War). This I know because I've worked extensively in developing instructional materials -- overviews, lectures, quizzes, and podcast scripts -- for U.S. and world history textbooks.
I will say that, if anything, the textbooks focus on the U.S. desire to maintain an isolationist stance during that time. However, I am not sure how that squares with the Spanish-American War (of 1898).
Americans defend life, liberty, and justice for all.
That's the goal, at least, and it's the utopian side of a coin with two faces. Heads or tails? Liberators or invaders? Which do you prefer?