I can't say for sure that is why but I have noticed similar effects. I had an ab cramp the other day while doing an ab workout. Nothing to worry about though bro. Get more potassium and make sure you are drinking plenty of fluids. If you still feel dehydrated you can drink some pedialyte.