because oxygen is more electronegative than hydrogen. The oxygen atom in h2o pulls electrons towards itself, resulting in a partial negative charge on the oxygen atom and partial positive charges on the hydrogen atoms. oppositely charfed ends ofwater molecules are attracted to each other, forming a hydrogen bond