The most likely reason for her severe pain in her leg muscles is : accumulated of lactic acid caused by lactic acid fermentation in the muscles
This accumulated acid is the one that would lead to muscle fatigue which would cause her to experience the pain
hope this helps