GSW: They were together and she delivered and he didn’t marry her. There is nothing like Bastard in Israel’s culture or a child born out of wedlock. They give spouses to sons as early when the boy is one year old.
She was his betrothed. Not his wife and he never got married to her because in the Jewish culture, the wife of the older who is dead can have children through the younger brother but that child will be named and given the right of the one who had died. This is what Kinsman redeemer means.
Redeeming the lineage of the dead by the living one without any paternal claim to the child whatsoever. Jesus was the Son of God.