Smoking during pregnancy and exposure to secondhand smoke after birth are significant risk factors for Sudden Infant Death Syndrome (SIDS). Nicotine affects the development of the baby's brain and respiratory system, making it harder for them to wake up from sleep or respond to breathing difficulties. The exact mechanisms are still being studied, but the correlation is well-documented.