Maternal vaccines work by stimulating the mother's immune system to produce antibodies against specific pathogens. These antibodies can cross the placenta and enter the fetal bloodstream, providing the newborn with passive immunity. This is particularly important during the first few months of life when the baby's immune system is still developing and is less capable of fighting infections independently.