Looks like galvanic corrosion to me.
While you might be thinking it's an odd ball concept, I've seen it before on some other metal objects from bathrooms.
Consider this, older house with a tiled...