What’s the matter with your stomach hurting and not hurting?

There are physiological and pathological causes of stomach pain. Physiological reasons include eating stimulating food, irregular diet, etc. Pathological reasons include gastroenteritis and irritable bowel syndrome.
1. Physiological causes: such as eating irritating or cold foods like chili, mustard, etc. can stimulate the gastrointestinal peristalsis to enhance the symptoms of abdominal pain; such as irregular diet can lead to abnormal gastrointestinal peristalsis function and symptoms of abdominal pain.
2. Pathological causes: such as gastroenteritis can also have nausea, vomiting, diarrhea and other symptoms; such as irritable bowel syndrome can also have abdominal distension, constipation, bowel sounds and other symptoms.
For the case of stomach pain for a while and no pain for a while, it is recommended to consult a doctor to analyze the specific causes with the combination of symptoms and auxiliary tests.