contestada

So i'm doing an essay for English and I need to incorporate some of the things that were going on during the 19th century. I want to write about the Mexican War but don't quite understand some things. Like:
What was its purpose?
What was it supposed to accomplish?
Why would people oppose the war, why would they not like it?