I heard the Messenger of Allah (May peace be upon him) explaining the verse “As for the youth his parents were people of Faith,” he was created infidel the day when he was created.
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ فِي قَوْلِهِ { وَأَمَّا الْغُلاَمُ فَكَانَ أَبَوَاهُ مُؤْمِنَيْنِ } وَكَانَ طُبِعَ يَوْمَ طُبِعَ كَافِرًا