Light travels fastest in gas, then liquid, then solid because of change in density
It varies, it's a popular myth that the speed of light is constant, but that's only true in a vacuum.