The child has the right to support from the father. The father has no rights without marriage to the mother.
At this point, whether he is married to the child's mother or not --- and sometimes it's she who refuses --- he cannot stop her from killing the child before it's born; and unless she acknowledges him as the father, he can't prevent her from handing his child over to be adopted by a couple of men or a couple fo women with a sexual disorder and a bizarre idea of how to raise a child.
In short, he doesn't have the "right" to carry out his most solemn moral duty of identifying, providing for, and protecting his child.
And that in turn violates the child's natural rights to paternal identity, provision and protection.