If the Mexican American war decided the outcome of the western United States, then why are the states in question of a Spanish name?

Why did we not name them something else? Or did some other compromise take place that is not taught in history?
11 answers 11