I stopped these symptoms by going back to my old diet but anyone have any idea why those symptoms occurred on a Peaty diet?
Most probably because you rushed into it without being able to metabolize carbs/sugars properly and switched diets too quickly. Patience, with small changes, is needed.