Atoms have differing electronegativities. If the atoms are of different elements, then each atom will pull on electrons differently, depending on their electronegativities. Atoms with higher electronegativities will pull on electrons more; therefore, electrons will spend more time in the vicinity of the more electronegative atoms.
Work Step by Step
See answer above.