A stomach ulcer can cause pain in the upper central region of your child's abdomen. It is often described as a burning or gnawing sensation. If the ulcer perforates into an adjacent structure, it can cause pain to the rest of the abdomen and, in some cases, lead to referred pain to the shoulders.