Why did santa Anna attack the Texans?

Santa Anna attacked the Texans because he wanted the land for Mexico. He had started the Mexican revolution and wanted to expand the country.