I’d guess the contacts on the extension socket have relaxed leading to a dodgey connection and the heat. You can’t really be sure how good a socket is as they are really just thin, bent bits of metal (who knows what they are made out of as well, copper, steel, aluminium could have been some...