Why does eating lots of salty food cause temporary weight loss?

I always thought that because of water retention, eating salty food caused weight GAIN... but this is a biology question I have to answer and I have no idea how to go about doing that.
29 answers 29