when hydrogen is bonded to a small highly electronegative element, e- pair is pulled away to electronegative element so it is basically just a proton, then is attracted to non bonding pair of e- on another molecule, resulting in a strong dipole-dipole IMF between molecules