This link seems to suggest a mechanism between brain activity and hair loss.

See: https://www.ncbi.nlm.nih.gov/m/pubmed/21729031/