You do not mention if she has pain and does this for relief, or wether it is just habit! If she is doing it for relief of symptoms or pain it is a neurological problem ( damage to the nervous system). If not it might be a psychological problem, which means they will not find a physical abnormality
, for this she will have to see a psychiatrist
for behavioral modification .