Why did the United States go to war with Mexico? What made the United States so successsful in the Mexican-American…

Why did the United States go to war with Mexico? What made the United States so successsful in the Mexican-American War?