It could be stress induced / psychological/ somatoform ds. Would need your history for bowel habits, Sleep , Appetite etc ., Food habits , lifestyle . You should consult a psychiatrist for better treatment .
Next Steps
You can get an Upper GI endoscopy done for excluding peptic disorder if not done already
Health Tips
Maintain proper healthy diet , non spicy non oily , maintain proper time interval between meals !