Their crystal structures just happen to reflect all the wavelengths of light so that you see white. Many crystals do the same and others have different colors or no color. It all depends on whether the chemical structure absorbs certain wavelengths of light.