The electronegativity of oxygen is higher than that of carbon and hydrogen, so the electrons associated with the bonds will be pulled closer to the oxygen atom, creating a partial negative charge on it and a partial positive charge on the carbon atom. This results in a polar molecule with a net dipole moment.