Basically the Texans and the Mexicans were mad at each other for land and crops/money and so they had a Battle. <span />
The Declaration of Independence was adopted by the Constitutional congress on July 4, 1776
He was afraid that Britain would ask for those territories as a part of their armistice so he decided to sell them quickly to the US and earn some money for the country while messing with Britain.