You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
What is Most important risk factor for neonatal respiratory distress syndrome – and explain in detail?
Hyaline membrane disease (HAM) or respiratory distress syndrome  (RDS) 

HMD always occurs in preterm babies often less than 34 weeks of gestation.
It is the commonest cause of respiratory distress in a preterm neonate.
Predisposing factors for HMD are --> Prematurity (most important), asphyxia, acidosis, maternal diabetes, multiple birth, cesarean section delivery, cold stress and a history of previously affected infants.
Incidence is highest in preterite male and white infant.
Risk is reduced in pregnancies with pregnancy associated hypertension, maternal heroin use, prolonged rupture of membranes, and antenatal carticosteroid prophylaxis.