What is the meaning of [Tear One’s Hair out]

Be extremely worried or frustrated