VSEPR and molecular shape
Electron domains around a central atom spread as far apart as they can, so the count of bonding and lone domains fixes the molecule's shape and bond angles, and the shape decides whether bond dipoles cancel.
From AP Chemistry.