It could be that a baby was left on the church steps or something. If the mother abandoned her child, the parents would be unknown.
There are now designated places where an unwanted baby can be dropped off. Police and fire stations and hospitals may be designated safe havens. The baby should be brought inside and given to a person, not left outside.