The effect is due to a meteorological phenomenon called 'inversion'

Video. Watch: River of clouds descends on Alpine valley

Inversion takes place when air temperature increases with height as opposed to decreasing at higher altitudes.