Air conditioning question

What would cause my air conditioner to do this? Air comes out of the vents and then when we go up hill, it switches to the defrost vents, then when we get to the top of the hill, it switches back to the regular vents.
It's a 2003 Mustang GT Convertible v8
 
  • Sponsors (?)