Why some materials, like water and ice, glass etc, are transparent is a macroscopic phenomenon (宏觀現象). It can be well explained by classical electromagnetic theory (電磁理論). Quantum mechanics mainly deals with microscopic phenomena of atmic or sub-atomic scale. Hence, it is not approriate to use quantum mechanics to explain the degree of transparency of materials, which involves the degree of absorption of electromagneic waves in those materials.
The following web-page gives an explanation why water and glass are transparent to light (which is of electromagnetic in nature).
http://education-portal.com/academy/lesson/transparent-and-opaque-materials-in-electromagnetic-waves.html#lesson
The following is a relevant excerpt from the web-page:
When a light wave strikes the surface of the glass, it sets the electrons vibrating at a certain frequency. This frequency is not the resonant frequency of the glass. The vibrations pass from the surface atoms to the neighboring atoms and then on to more atoms through the bulk of the glass. The frequency doesn't change when the vibrations pass from one atom to another. Once this energy gets to the other side of the glass, it is re-emitted from the opposite surface. The light wave effectively passes through the glass unchanged. As a result, we can see straight through the glass, almost as though it isn't even there. Transparency thus occurs because of the transmission of light waves through the bulk of an object.