Texians wanted to keep Texas as a
slave state
.
First on the background of the war:
When Mexico won its independence from Spain in 1821, all the territories it possessed included Mexico, most of Central America (Guatemala, El Salvador, Honduras, Nicaragua and Costa Rica) as well as today's US States of California, Nevada, Utah, Texas, Arizona, New Mexico and parts of Colorado, Oklahoma, Kansas and Wyoming.
Due to the extremely low population for such territorial extension (estimated at 12 million during 1824), Mexico relaxed its immigration policies, thus allowing American settlers to help populate the northern territories. The conditions to settle were simple: 1) to pledge allegiance to Mexico and 2) observe the Mexican Law and customs. In 1830, these laws incorporated the banning of slavery. Due to the fact that many American settlers in such territories were slave owners, they looked for any pretext to break up with Mexico.