While researching the cause of refraction, I found that refraction occurs due to the change of speed of light when it goes from one medium to another (according to Huygens principle).
But I cannot get why actually does its speed change when the medium changes?