There are a few causes to stomach ulcers. They can include:
1. an infection with the bacterium Helicobacter pylori (H. pylori)
2. long-term use of nonsteroidal anti-inflammatory drugs (NSAIDs), such as aspirin and ibuprofen
3. excess acid (hyperacidity) in the stomach, which may be related to genetics, lifestyle (stress, smoking), and certain foods
4. Zollinger-Ellison syndrome, a rare disease that makes the body produce excess stomach acid
Research has shown that foods cause stomach ulcers is a myth. Spicy foods and acidic foods can exacerbate the problem. We would suggest consulting your primary care to inquire a bacterial infection that may have occurred in her stomach. H. Pylori is the most common cause of stomach ulcers.