When a woman has a child, her husband is called upon to protect and support that child, as his own.
If his genetic self-interest involves propagating his own genes, he will want some kind of assurance that he is not working to support someone else's child.