Provide a short answer for the given question:
 
A student participated in a sprint race during the annual sports day. After the race, he complained of sudden pain and cramps in his leg muscles. This condition occurred due to ______.