If it drops below the dew point, dew forms; if it drops below that and freezing, frost forms. In flight, the high speed air flow over the aircraft keeps its skin at essentially the same temperature as the air so it doesn't drop in temperature the same way.