Is it just that the medium becoming less dense upon increasing the temperature allows the light to travel faster? I am trying to explain using the polarisation concept. Means the refractive index is the square root of relative permittivity, so can we say the temperature changes causes changes in polarization due to increase in average expansion of charges, hence the dipole moment and thus the polarization?