The Mexican-American War began in 1846 primarily due to disputes over Texas. The annexation of Texas by the United States in 1845, which Mexico considered a rebellious province, led to tensions. Additionally, disputes over the Texas-Mexico border and US desire for Mexican territory, including California and New Mexico, further fueled the conflict.