It can be congenital if the baby contracts it in utero.