The smoke is basically from the minuscule particles of carbon in the wax (that weren’t completely burned) combined with a bit of steam. This produces a black smoky substance from the flame (carbon) that causes your walls, fixtures and such to become black when the carbon is released into the air.