Vertical Transmission: This occurs when the infection is transmitted from the mother to the baby during delivery. Infections such as GBS and E. coli are commonly transmitted this way. Horizontal Transmission: This occurs postnatally through direct contact with infected individuals or contaminated surfaces. Aspiration: Neonates can inhale infected amniotic fluid or meconium during delivery, leading to pneumonia.