Tummy pains and hiccups are associated with factors such as indigestion, stomach ulcers, and irritating food intake. In people with indigestion, the presence of large amounts of food in the digestive tract can cause irritation to the mucous membrane of the digestive system, resulting in a painful sensation in the abdomen. Food can produce a lot of gas when neutralized with digestive juices, causing distention of the stomach and even irritation of the diaphragm, which can then induce hiccups. When a gastric ulcer strikes, the gastric mucosa is in a more sensitive state due to the presence of an ulcerated surface. Once there is an excess of stomach acid that promotes the gastric mucosa, it can cause stomach pain. The ulcer surface will spasm and contract when stimulated, thus inducing diaphragm spasm and hiccups. Chili peppers, onions, and garlic are all irritating foods, and eating them in small amounts will not affect your health. However, when eaten in large quantities, the irritating substances come into direct contact with the mucous membrane of the digestive system, leading to spasmodic contractions of the digestive system, which can cause not only pain but also hiccups in some people.