In the U.S.-Mexican War, what military technological advantage did the U.S. army posses that tipped the balance in several crucial engagements?

Q&A Education