When the boiler heats up, a stream of hot water and steam shoots out from the tubes creating vacuum inside the boiler. That vacuum sucks in more water, heats it up, and the process is repeating untill you remove the heat source. Boiler than cools down and the pop pop engine stops.
http://www.sciencetoymaker.org/