The improper balance may have been "eating" at the heater. Then when removed, there was nothing to eat, and deposit into the water to eventually stain.