Answer: The event that contributed most to the beginning of the Mexican-American war was the annexation of Texas.
Explanation: Nine years after gaining its independence from Mexico, Texas became a slave state and was eventually admitted to the Union. In light of this, the annexation of Texas had a significant impact on the Mexican–American War.