A polar molecule is a molecule containing polar bonds, where the sum of all the bonds dipole moment is not zero.
In case of H2O, the bonds are inclined at an angle, so the net dipole moment is non-zero. Hence, H2O Is a polar molecule while in all other cases the dipole moment are balanced, so the net moment is zero.