The magnitude of the heats of vaporization, fusion and sublimation of a substance reflect the intermolecular forces.
What are intermolecular forces?
“Intermolecular forces” is used to describe the forces of attraction between atoms, molecules, and ions when they are placed close to each other.
Atoms, molecules, and ions are strongly attracted to one another and move toward one another when intermolecular interactions are strong. These are more frequently encountered in states that are condensed, like liquid or solid.
Atoms, molecules, or ions do not have a significant attraction to one another and move far apart when intermolecular forces are weak.
Learn more about the intra- and intermolecular forces with the help of the following link:
It comes from the chemical reaction of The wax and the gas because the wax is made up of carbon-based chemicals so the gas and carbon make the candle light =)