General Zachary Taylor, not Winfield Scott, led US forces in the war's early stages. A large portion of the army was still guarding Texas.
Winfield Scott later commanded the southern campaign (Veracruz to Mexico City) in 1847.