Were you supplementing with electrolytes while fasting? Don’t have any studies at hand right now, but fasting apparently causes you to quickly lose fluid and electrolytes.
I recently started doing 5:2 fasting and noticed on the day after fasting that I tend to get bouts of pretty bad orthostatic hypotension. Supplementing with a zero-calorie electrolyte on fasting days and the day after helped mitigate this.