Thanks for the query to H.C.M. Forum.
If I were your doctor for this acute severe stomach pain with bloating
I would come up with these following causes.
1 The first possibility is of acute gastritis
. Diagnosis can be confirmed by upper G I endoscopy
Try raising the head of your bed about 4 inches with blocks.It also might help to avoid eating or drinking for 2 hours before you lie down.To help control the stomach acid one should not drink alcohol or drinks with caffeine in them or eat chocolates or spicy food or greasy food . Some antacid
helps in your case,but if symptoms severe , you may need proton pump
2 The next reason may renal stone , diagnosis can be confirmed by ultrasound
of both kidney
.As sometimes pain is radiating to the back , this is an indication of stone in kidney.
3 However there is chronic constipation
, this may develops pain like this but in mild form so for this get in ENEMA
( soap water or glycerin
In my opinion consult a physician and get his opinion & TREATMENT .
Good luck. Dr. HET