Stress changes the internal homeostatic hormonal balance in the body and the delicate hair follicle cells recognize this hormonal shift and respond by signaling the hair to stop growing and shed. It's a built-in protective mechanism that the hair follicle will activate because it feels it needs to protect itself from the altered hormone balance that it perceives as a harmful environment.