I don't think it hurts them, but any root exposed to light will try to turn into stem. This uses energy and you'd rather the energy be used to veg or flower. Exposing soil to light will probably cause algae to grow too. The green kind is harmless but it sucks up excess oxygen. Cover your bottles