The highest association was seen when infections occurred during the second and third trimesters of pregnancy, researchers found.