This is how stress affects hair loss