I recently learned that steroids are sometimes given to mothers in preterm labor.
If a baby is at risk of being born too early, giving the mother steroids before the birth can help her unborn baby's lungs to develop more quickly. This reduces the risk of the newborn having serious complications or dying
However, steroids are also the drug of choice during pregnancy for certain disease, for example for asthma, or in inflammatory diseases because they fight inflammation and NSAIDs should not be taken during pregnancy, if it can be avoided.
For example, steroid tablets may be recommended if you're pregnant and have severe asthma, because the risk to your baby from uncontrolled asthma is higher than from the medication.
Is premature development of the lungs, the desired effect when giving steroids for preterm labor, one of these risks? In other words, when giving steroids to a pregnant woman, does the effect on the fetus's lungs pose any risks?