The basically the speed of light slows down for materials and essentially is because, as the lights traveling through lights, this electromagnetic way that's wiggling around the electric fields of wiggling around that makes the electrons in the in the material wiggle around as well, and as they wiggle around, they produce electromagnetic waves of their own, which kind of combined with the light that was already passing through the net effect of all that is to make the light as it travels through slow down.