Stomach ulcers may affect the growth of the developing baby, like babies being born small for their gestational age or having low birth weight. Though rare, peptic ulcers can seriously affect the life of the expectant mother and also the developing baby.