This is an indication of high humidity in the cab.
I always have AC mode engaged, even if it is cold. Great dehumidifier. During cold weather the AC has a point where it is disabled due to lower temp efficiencies not benefiting operation.
A number of things can cause the fogging.
A water leak somewhere in the cab, like windshield, back window or third break light. Check around the floorboards and under the seats and floor mats.
A common issue is the HVAC moisture drain being plugged causing a pool of water in the HVAC box to "humidify" the interior. Find the drain (on firewall) and probe the drain, or use compressed air to see if you can unplug the drain.
The flowing air through the defrost ducts will help demist the interior windshield, but as soon as the flow of air is rerouted to other ducts the differential of the ambient air and windshield temperature/humidity cause condensation on the glass.
Same things happens when it is humid outside and the AC has some ducting to the windshield. Only the condensation occurs on the outside of the windshield...on with the wipers...until you get up sufficient external airflow or balance interior HVAC temperature on the windshield to prevent the condensation.