Your friend repented of a sinful behavior. She stopped the behavior
She was forgiven by God.
Now that behavior had a consequence, she had a child. All behaviors good and bad have consequences. Our behaviors on earth will be judged after death. For those who are saved we will be judged at judgment seat of Christ. We will receive rewards for what we did that built up the body of Christ and those things that were not good will be burned as hay and stubble.
Your friend loves her child I am sure, but might have preferred to have one at some other time. The consequences of her actions while pleasent to some degree are also life changing to a major degree. Those life changes can not be avoided and they are the consequence of her behavior and actions.
We do not avoid consequences just because we are forgiven. May we all consider that before we slip and fall.