Why did Mexico give Texas its independence?

Mexico did not give Texas its independence; Texas won its independence from Mexico after the Texas Revolution.
Copyright Wanderlust World © https://www.ynyoo.com