Occasion:

The Mexican Government still claimed Texas as a province, and its annexation by the United States was considered an act of hostility. The Americans had suffered long under continued acts of insult and spoliation on the part of the Mexicans, and were therefore prepared to fight.