The child might feel stress, but not the
pain. How far along are you? Epigastric
pain later in pregnancy is common because baby is pushing up on all your organs and making them cramped. This leaves the stomach squashed and of course hurt. If you have chronic digestive issues though, that could also play a role. However, while pregnant there's not much medicinally you could do. Warm baths, water bottles (DO NOT use a heating pad) etc can help to relieve it some.