That simply wasn't as common in older generations. Children were womens work and the men simply went on with their lives ignoring the kids or thinking of them as a nuisance.
I'm not saying everyone but it was far more of them. Basically saying that you don't need to leave the mother to be a deadbeat dad.