What causes differences in polarity?

Differences of polarity between different compounds (molecules) have two causes:

- differences of asymmetry between these molecules

- differences between the electronegativity of the atoms contained in the molecule