The main cause of neonatal abstinence syndrome is when a mother consumes drugs such as opioids during pregnancy and this reaches their baby in the womb before birth.