To explain in more detail, when the boiler heats the water inside it, the water expands do it's density becomes a little lower than the slightly cooler water in the pipework above. Put another way, the water at the top of the system becomes heavier than the water below so the cooler, heavier...