The Mexican American War (1846-1848) was a brutal conflict between neighbors largely sparked by the US annexation of Texas and desire to take western lands such as California away from Mexico