IIRC, most of that is due to mixing copper and aluminum. Like aluminum wiring and copper electric outlets. Or aluminum wiring connecting to copper wiring.

Had an apartment with aluminum wiring and had to watch out for that.