Why were the annexation of Texas and the invasion of Mexico so controversial at the time?

Why were the annexation of Texas and the invasion of Mexico so controversial at the time?Did these territorial acquisitions – and that of Oregon – represent a departure (in method or intent) from earlier acquisitions?Explain