Actually the ache is not in stomach the ache is in your brain. It really happens sometimes when you did something bad to someone & regretting for that So you've got mental shock & remembering that issue is giving you mental pain.