Wiktionary
tear one's hair out
vb. (context idiomatic English) To react with extreme agitation.