Terrible Sleep after 24 hours of fasting

Hello,
I was wondering if anybody has some experience and insights with terrible sleep after 24 or more of fasting? I wake up 30+ times a night and my whole insides (stomach and upper intestines) are in a knot (cramped up). It feels like I have a strong flu and fever but I don’t. This means that I never sleep during a 1-3 day fast which cannot be good for healing.

I had experienced similar discomfort during my first fast. This is the 2nd extended fast I’m on and the sleep has improved compared to non- fasting state.

I think , it becomes better with time… Also, Exercising helps to fall asleep quick and deep.
About Stomach cramps, having 1 tsp Apple Cider Vinegar with a cup of warm water and Electrolyte Water helps.

I hope It helps