When you use your muscles they produce waste. one of those wastes are lactic acid. Working out with a moderate intensity will let the blood flow carry those wastes away and you never notice them....
This would most likely be due to a lactic acid build up in the muscle which can be attributed to lack of muscle hydration as well as a lack of magnesium which has been depleted via exercise....