Wikipedia has the following reaction:
$\ce{Mg2Si + 4 HCl → 2 MgCl2 + SiH4}$
This seems to be a double displacement (metathesis) reaction, where $\ce{Si}$ has oxidation state $-4$. However, I thought that silane had silicon in the $+4$ oxidation state? For example, in this reaction: $\ce{3 SiO2 + 6 H2 + 4 Al → 3 SiH4 + 2 Al2O3}$, silicon remains in the $+4$ oxidation state.
Why is there the discrepancy between the oxidation state of silicon in silane?