The vagina is an organ that is designed to accommodate both childbirth and sexual activity.
During arousal, more blood flows to the vagina.
While the tissues in the vagina do stretch to accommodate a baby, this is not permanent.
However, if a woman is experiencing pain during sex due to what she perceives as a shallow vagina, she should talk to her doctor.