The primary cause of IRDS is the lack of surfactant, a substance that helps keep the air sacs in the lungs (alveoli) open. Surfactant production typically begins around the 24th week of gestation and becomes adequate by the 34th to 36th week. Preterm infants may not have enough surfactant, which leads to the collapse of alveoli and difficulty in breathing.