What causes a molecule to have a net dipole moment?

What causes a molecule to have a net dipole moment?