The primary cause of RDS is premature birth. The lungs of premature infants are often not fully developed, and the production of surfactant is insufficient. Other risk factors include maternal diabetes, cesarean delivery without labor, and a family history of RDS.