Freezing rain develops as falling snow encounters a layer of warm air deep enough for the snow to completely melt and become rain. As the rain continues to fall, it passes through a thin layer of cold air just above the surface and cools to a temperature below freezing.
https://www.weather.gov/source/zhu/ZHU_Training_Page/winter_stuff/winter_wx/winter_wx.html

