Thanks for writing in.
The energy drinks sometimes have caffeine. These can have diuretic
effect - increased urine. This diuresis can sometimes cause minor electrolyte imbalances in your blood causing these muscle cramps
Having fruit juices rather than energy drinks can avoid such cramps, because they have minerals, glucose
also which are instant energizers.
Adequate hydration also helps avoiding such cramps.
Hope i have answered your queries,