A preterm neonate weighing 900g has persistent respiratory distress, is on nasal continuous positive airway pressure, and has chest radiograph with low lung volumes, ground-glass appearance, and air bronchograms. Which is the primary pathophysiology?