Why did the Mexican army attack Taylor’s troops?

They had the advantage of a more powerful army.
They had been provoked by the presence of American troops on their border.
They were waiting for White American aggressors on their soil.
They wanted Texas returned to them.

They had been provoked by the presence of American troops on their border.