The attraction of inter-molecular forces between molecules is defined by a general term "Van der Waals forces". It is the weak interactions caused by momentary changes in electron density in a molecule.
Inter-molecular forces that are present between hydrogen atom which is bonded to highly electronegative atom ([tex]F, O, and N[/tex]) and the lone pair electrons present in the other molecule on these electronegative atoms is known as hydrogen bonding.
The type of interactions between methane, [tex]CH_4[/tex] is Van der Waals interactions whereas in water, [tex]H_2O[/tex] is hydrogen bonding.
Since, the hydrogen bond is stronger than the Van der Waals forces so, it results in higher strength between the molecule possessing hydrogen bonding. Thus, molecules possessing hydrogen bonds will have higher boiling point than the molecules which possess Van der Waals forces.
Hence, water ([tex]H_2O[/tex]) have a significantly higher boiling point than methane ( [tex]CH_4[/tex] ) because water molecules are attracted to one another by hydrogen bonds.