Tension between Anglo-American settlers and the Mexican government can be traced back to the 1820's, when the Fredonian Rebellion and disagreements about slavery took place.
However, one of the early turning points was the law of April 6, 1830, which encouraged Mexican and European families to migrate to Texas, while stopping immigration from the United States. Taxes to all foreign goods were also added.
New military forts were built to make sure the law was being followed, but Mexican officers never trusted the Anglo American settlers, who were in turn upset by the new law. U.S. officers, on the other hand, did not cooperate to stop American immigrants.
Eventually, the ban could not be enforced and their relationship worsened.