The most likely explanation for what happened is:
Thermal energy in the form of heat moved from the fire to the skewer and marshmallow.
When Isaac holds the marshmallow over the fire, the heat from the flames transfers to the skewer and then to the marshmallow, causing it to cook. At the same time, the skewer also absorbs heat from the fire, which is why it feels warm.