Personally, I think the answer is actually: Marriage is the asserted obligation that both parents will seek to raise children to adulthood regardless of the circumstances of the conception of the child. Pre-marital sex must be banned as to prevent the deaths of children, so that children must only be conceived by parties prepared to deliver them alive and well into adulthood.
Of course, that collapses the idea that we can't ban pre-marital sex.
Personally, I think the answer is actually: Marriage is the asserted obligation that both parents will seek to raise children to adulthood regardless of the circumstances of the conception of the child. Pre-marital sex must be banned as to prevent the deaths of children, so that children must only be conceived by parties prepared to deliver them alive and well into adulthood.
Of course, that collapses the idea that we can't ban pre-marital sex.