Tear One's Hair Out Meaning

(idiomatic) To react with extreme agitation.

Example:   My friend's job at a call center is so stressful he could tear his hair out.
1871, Lewis Carroll, Through the Looking-Glass, Chapter IV:
  "It's only a rattle," Alice said, after a careful examination of the little white thing. "Not a rattle-snake, you know," she added hastily, thinking that he was frightened: "only an old rattle — quite old and broken."
  "I knew it was!" cried Tweedledum, beginning to stamp about wildly and tear his hair. "It's spoilt, of course!" Here he looked at Tweedledee, who immediately sat down on the ground, and tried to hide himself under the umbrella.