Scripture does not suggest that the child was unclean. It was only the discharge of blood that made the mother ceremonially unclean. The discharge of blood is mentioned three times in this chapter as the reason for uncleanness. This is confirmed by the parallel in Leviticus 15:19–24.
2 “Speak to the people of Israel, saying, If a woman conceives and bears a male child, then she shall be unclean seven days. As at the time of her menstruation, she shall be unclean.