The Mexican War can be seen as both a defensive war and a war of aggression, depending on the perspective. From the Mexican point of view, it was a defensive war, as they saw the annexation of Texas by the United States as an act of aggression. However, from the American point of view, it was seen as a war of aggression, as the United States initiated the conflict by invading Mexican territory.