I think this is because in a medium you can think that the photon hits an atom, and then shortly after it (or a different one) gets emitted again. This makes it so that light moving through a material is slower.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence