Why do air force planes taxi with their cockpit open?

I know in a non-military plane the cockpit can get very hot inside when not flying because the cooling of the cockpit is brought by the highspeed movement of the aircraft. So I would imagine that it is because its uncomfortable in the heat if the cockpit is closed.