Why do some drugs cause premature babies?

Various reasons. Drugs/medications effect on a pregnancy are always a concern and all should be avoided unless given under an MD's supervision/advise. http://www.webmd.com/baby/tc/preterm-labor-cause.