Why do metal displace hydrogen from dilute acids?
Metals displace hydrogen from dilute acids because they are more reactive than hydrogen. Metals lose electrons from which the hydrogen ions from acids accept, and hydrogen gas is liberated.
2HCl → 2H++ 2Cl-
Mg → Mg2++ 2 e-
2H++ 2e- → H2(gas)