why did us go to war with mexico?

why did us go to war with mexico?