I thought the same, but No, as the original hypothesis was the bacteria came from the vaginia, but this study shows it comes from gut. It maybe because during delivery women often have anal fissures.
I am not an obstetrician but I am pretty sure that fecal transfer is far more likely because of acccidental pooping while 'pushing' instead of anal tearing/fissures.