Something is going on with your stomach...
Suggest you make an appt with a gastoenterologist.
What you describe sounds like a mild case of gastritis (inflammation of the stomach) and trust me you do not want it go beyond that.
The only way to confirm or rule this out is to make an appt and go from there.
Does your ear(s) ache when you have these episodes?