Electrical heat is generated by electrical current (amps) flowing through a wire or component which has electrical 'resistance' (ohms).
In relation to electrical current, a narrow wire will have more resistance than a wide wire.