All molecules have dispersion forces from temporary shifts of electron density. Polar molecules can also attract by permanent dipoles. A hydrogen bond needs a donor and an acceptor; in common examples the donor has H bonded to N, O, or F. Compare size and shape as well as polarity. A large, easily distorted electron cloud can produce substantial dispersion even in a nonpolar substance.
When liquid water boils, are O–H covalent bonds being broken?
No. Water molecules separate from one another. The intermolecular attractions are overcome; the molecules remain H₂O.