I believe the answer is: "Mexico was a barrier to achieving what many believed was America’s destiny to expand to the Pacific,
At that time, the government of Mexico refuse to sell their lands to united states due to the amount of oil reserve that they have in their territory. This become a hindrance for American government who at that time were willing to make huge investment to expand their territory, This lead to the Mexican american war that occurred for around 2 years.