I suppose you know where the term
shotgun wedding originated? It has been the root of a lot of metaphors over the years, but it arose in a time when we assumed that a man had to take responsibility for his actions.
People being what they are, things happen that shouldn’t, but if we take responsibility, sometimes they can be made to work. This was realized long before there were any shotguns, of all places, in the Law of Moses.