I don't know the reasons, but you're looking in a time window of four-seven days.
When I stray from my diet (meat and water) one day. I become mentally unstable after 4 days. It says for 3 day, then gets good again.
Crying for no reason, ruminating, poor sleep, strong sour smell that can't seem to be removed by washing but can be suppressed by a strong anti transpirant.
Going for sibo testing soon, if it's not hereditary, enzymes might be a solution. If it is, Pankreas is up for investigation next.
Been looking for solutions since 2018, no doctor could offer an explanation so far.