High sodium and lost weight?

Alright, so I stuck in my calorie goal and I think I might of crossed it by a 100 tops. However, my sodium, sugar, and carbs were higher than usual and my weight dropped a couple of pounds. I'm not complaining here just wondering how? I wasn't expecting that. My sodium was almost a 1000 higher than usual. It's probably just water but a little weird.