During physical exercises, our body muscles need more energy to carry out it.so it need to respire more but it didn't get enough oxygen. so cells in our muscles start respiring anaerobically. in this process, food burns without the presence of oxygen. and it breakdown into lactic acid and energy and this accumulation of lactic acid causes muscle cramps.
!!!hope it helps,,please mark as brainliest!!!