Final answer:
The United States went to war with Mexico due to territorial disputes and tensions, mainly triggered by the annexation of Texas.
Step-by-step explanation:
The United States went to war with Mexico due to a combination of territorial disputes and tensions between the two countries. The main cause was the annexation of Texas by the United States, which Mexico viewed as a violation of their sovereignty. This led to military conflict between the two nations.
Learn more about Mexican-American War