The mechanism of the shape elongation of metal nanoparticles (NPs) in silica, which is induced under swift heavy ion irradiation, is discussed with comparing the two candidates: (i) the synergy between the ion hammering and the transient melting of NPs by the inelastic thermal spike and (ii) the thermal pressure and flow model. We show that three experimental results are inconsistent with (i). The latter is supported by two-temperature molecular dynamics simulations, which simulate not only the atomic motions but also the local electron temperatures. A remarkable correlation was observed between the temporal evolution of the silica density around the ion trajectory and that of the aspect ratio of the NP later than ~ 1 ps after the ion impac...