It wasn't that long ago that monogamy was the default because no one wants to have a baby from a night of netflix and chill.
IMO you have the direction of causation backwards. Monogamy is not some child rearing optimization strategy. It was a social construct that evolved because causual sex at one point was incredibly expensive and now it is not because of birth control.