When calcium and calcium hydride, $\text{CaH}_2$, react independently with water, each reaction forms a white solid and a colourless gas. In both cases, the white solid is the same compound. Which of the following statements is correct?
- ABoth Ca and $\text{CaH}_2$ produce $\text{H}_2$.
- BBoth Ca and $\text{CaH}_2$ produce $\text{O}_2$.
- CCa produces $\text{H}_2$ and $\text{CaH}_2$ produces $\text{O}_2$.
- DCa produces $\text{O}_2$ and $\text{CaH}_2$ produces $\text{H}_2$.