MAS occurs when a newborn inhales a mixture of meconium (the first stool) and amniotic fluid. This can obstruct the airways and cause respiratory distress. Treatment involves suctioning the airways, providing mechanical ventilation, and sometimes administering surfactant.