Heat Cramps, since the sharp pains in his legs are cramps caused by the amount of time spent in the sun, and also from the heat, he is perspiring, which is making him dehydrated. You cramp when you're dehydratedz
Don't get stressed, learn new languages, exercise regularly, look at more funny stuff.
Lifestyle and it's D I think lol
D. remaining well -hydrated while exercising is best, when you perspire from exercise you have to replace fluids or you will de-hydrate which is not safe.