Infections in neonates can be transmitted vertically or horizontally. Vertical transmission occurs from mother to baby, either transplacentally, during delivery, or through breastfeeding. Horizontal transmission can occur through contact with healthcare personnel, contaminated equipment, or other infected infants in a neonatal intensive care unit (NICU).