The water in the ice has gained the energy via the heat of the flame and since it is now a little more energetic, it has melted.
(The water in the ice; has gained; the energy) (it; is; T:now; a little more energetic) (it; has melted; )
The water in the ice it it
has gained is has melted
the energy
T:now a little more energetic