ETA: Hey THAT is cool Tinks, and much less mess than mine. Why does it do that?
Because water is more dense than oil. The oil sticks to the salt which weighs the oil down so it falls to the bottom of the bottle with the salt. As the salt disolves the oil rises back up to the top because it's lighter than water.