Actually, you are the one that needs to learn history. The Mexican goverment encouraged Americans to settle in Texas/New mexico/Arizona above the Rio Grande because they could not control the Indians raiding thier missions and could not get mexicans to settle the texas territory.
It was only after Mexico banned us citizens from immigrating to Texas in 1830 that problems started to arise with the american colonists. They wanted to be come a seperate Mexican state, not just a territory. When Santa Anna's measures to transform Mexico from a federalist to a centralist state motivated the Texan colonists to revolt.
Well, thank you for the history lesson....and I'm glad that you ALSO echo the fact that Mexico encouraged American colonists.....pretty much the way we then encouraged Mexicans to work in the mines and agricultural centers in California (and in some cases....still do.)
...and, yes, Americans did help in fighting off Natives (the Kickapoos, Coushattas. Comanches, and other tribal bands).....but Mexico wasn't all too pleased when the colonists wanted independence and.......JUST AS WE HAVE....began to ban (as you say) illegal American immigration to Texas......Whether you realize it or not (probably not) your little "lesson" actually supported my post....Thank you.