Hard water normally causes cloudy shower glass. This is water that contains a high concentration of dissolved minerals such as calcium and magnesium.
When the water dries or evaporates after you take a shower, these minerals are left behind which form hard water and limescale deposits which leave a cloudy appearance on the glass.