Why does the air turn on when I turn my defroster on?

Many auto manufacturers engage the AC compressor when the defroster is used because the AC system also dries the air. In a humid environment the drying effect of the AC can help keep the windshield clear.