Ahhhhh. That's still a mystery! You will read in Wikpedia or some of the literature that it is water ice.
But actually, we don't know. It could be ice, or other things: frozen benzene, solid HCN, mixed solid organics. We do not have detailed spectra or other chemical analysis of those rocks vs the sands.
(Personally, I think it's probably ice, but I want better proof.)
(The dark sands I'd lean my guess towards probably organics.)
It is good to have mysteries! Fun! Explore!