But I believe that the reason the headrests don't go up and down is that the headrest serves as a roll over protection device. When the car "senses" that it's in a roll-over situation, the headrest pops up.

The headrests themselves do not serve as rollover protection. The pop up rollover protection is located behind the rear seat headrests.