
Both of those compounds promote water retention. I can give you more information if you want, but basically, more sodium and sugar cause cells to hold on to more water to try to keep the ratio of solid to liquid stable. For you, this means water retention, but maybe also increased thirst for the body to try to flush it.