The pills, taken by about 40 percent of pregnant women in the US, cause changes in the gut bacteria or microbiome of the mother which are then inherited by their unborn child, according to the New York University study.