The headrest deploys because the plastic pin and hinge pieces that prevent deployment can break under tension. This can cause the headrest to suddenly and unexpectedly deploy.