Muscle Twitching After Cardio

Hi Everyone - I’m hoping someone may have a solution for my recent muscle twitching. 3 times in the last 3 months I have had upper body muscle twitching, and muscle spasms in my feet and legs shortly after doing intervals on the stepmill for 15 minutes. I know its going to happen because I get a little lightheaded before I get it, like it ignites it

It never happens when I lift or do any other type of cardio. I have been seeing the chiropractor and he is convinced that it is my neck. I still seem him every week but after the 4-5th adjustment it came back, actually the day after he adjusted me. The twitching last for a few hours then eventually goes away. I was wondering if anyone has experienced anything similar to this and how they went about treating it. Ive been foam rolling, stretching and making sure my electrolytes are good everyday. Any suggestions would help.