ok, some basic electrical. Electrical current generates heat in the wire. The more resistance - a defect in the wire, a bad or corroded connection, a wire sized too small - you get more heat. Too much heat, too much current flow for a given wire size, the wire gets very hot, your wire insulation...