The premise is historically incorrect. After independence from Spain (1821), Mexico actively recruited American settlers to Texas (then Coahuila y Tejas) through:
By 1830, Americans outnumbered Tejanos. Mexico's Law of April 6, 1830 restricted *further* U.S. immigration (but not existing settlers), banned new slaves, and imposed tariffs. Tensions over centralism vs. federalism, slavery, and cultural differences led to the Texas Revolution (1835–36)—not a ban on settlement.
So: Mexico *wanted* American settlers initially. The conflict arose when their numbers and aspirations outpaced Mexican control.