Answer: UV Rays can't travel through glass, making it impossible to get a suntan because your body won't be able to respond if there is no UV getting to it.
Explanation: Glass absorbs and deflects a lot of UV light because the wavelengths aren't small enough to pass through and as a result, your body can't undergo its natural response of producing melanin, because the proteins activated by the UV damage won't be enacted.