hi i had gone through your query and understand your concerns. i would come up with two possibilities
1.the first possibility is,GERD;gastro esophageal disease
is the cause for your gastric complaints.
upper gastro intestinal endoscopy
may confirm the diagnosis.
2.second possibility is,RENAL STONES;ultrasound
scanning for pelvis may confirm the diagnosis.
I hope this is helpful for you, thank you