Both of these bonds are polar, oxygen is far more electronegative than either Carbon or Hydrogen.
Electronegativity describes the tendancy of an atom to withdraw electron density toward itself in a covalent bond, in this case, leaving the carbon atom or the hydrogen atom electron deffieient and so will result in a partial positive charge (delta+) on these atom, while the Oxygen atom will aquie a partial negative (delta-) charge.
This is how bonds become polar, due to electronegativity difference in the atoms sharing the bond.
Rob