Mexico still considered Texas to be a part of the Mexican country. Originally in 1836, Texas broke off from Mexico, but Mexico still saw it belonging to them. When the Mexican-American war ended and Mexico lost its territories to the United States the same year as the United States annexed Texas, they saw the US as robbing Mexico of its lands including Texas.