When a substance is in vicinity of a fire, it will absorb some energy released from the fire.
The same amount of heat
Heat energy flows from a region or substance having high temperature to a region or substance having lower temperature. This is true for even portions of the fuel or substance undergoing combustion. So the burning portion of a fuel will have a higher temperature and will transfer some energy to the fuel which is yet to burn.