Which is a reason that Mexico and the U.S went to war?

A. The election of James k. Polk
B.they traded them for crops
C.the U.S invasion of California
D.None of the above