It’s called snowball earth because it was covered in ice, nice fresh water ice. The melt was from the ice and picked up minerals as it ran into to ocean, changing the chemistry of the ocean.
All that ice was created by water evaporating from the Oceans. It did not just magically appear. Balance was restored when it melted.