Why did they have a battle at the Alamo?

Texas Wanted Independence From Mexico