The cause of this areis the hydrogen bond that form atforms in the liquid state between the molecules, and debye bonds that form between polar molecules.
A hydrogen bond can only occur between an electronegative atom and ana hydrogen atom, himself linked to an electronegative atom (F, O or N).
In order to evaporate the liquid, you have to provide enough energy to break the hydrogen bond. So the more bonds there are, the higher the boiling temperature. Soft debye bonds can also occur between two polar molecules, and have to be broken too.
The alkanes can not participate in any bonds, thus have the lowest boiling temperature.
The halogenoalcaneshalogen alkanes may not form hydrogen bonds, but they are polar, thanks to the very electronegative halogens. They form debye links, that are not very strong but sufficient to raise the boiling temperature.
The alcohols have -OH extremities, very likely to associate themselves in hydrogen bonds, that are stronger than debye links, and thus alcohols have the highest boiling temperature.