electrons flowing in wires increases the kinetic energy of the wires & temperature is a measure of the total kinetic energy of an object
electrical current running through a wire causes the temperature of the wire to increase