Because… because… because all the little honeycomb cells in your nose and sinusus contract in the cold just as everything else does, and that forces the liquid out.
OR because your nasal passages generate warm fluid spontaneously in a way similar to sweating, in order to keep your delicate and somewhat isolated olfactory organ from freezing.