It may likely be related to reflux and may be occurring as a flare up or laying down too soon after eating.
Acid reflux is usually due to not enough acid. My mum was on nexium (acid blocker) for 6 years and her health worsened. She had severe GERD. Now she takes betaine HCL with pepsin and digestive enzymes. Her health improved drastically and her GERD went away in weeks. She takes these daily with meals. Betaine HCL with pepsin only with protein meals.
Excerpt from Gallbladder Attack article Chronic Heartburn...
"Signs of Deficient Stomach Acid:
Gas, bloating and burping shortly after a meal
Feeling of fullness or food not digesting
Heartburn and/or gastric reflux (sometimes too much HCl but most often not enough)
Foul smelling stools
Loose stools in the early morning
Dialated blood vessels on the cheeks and nose - Rosacea
Pernicious anemia or iron deficiency
Nausea especially after taking vitamins and minerals
Weak or cracked nails
Parasites - or at least increased susceptibility to parasitic infections
Chronic yeast infections
Acne in adults - especially if you have other symptoms from the list
Since low levels of stomach acid result in poor absorption of nutrients, many symptoms that accompany a deficiency of that vitamin or mineral makes this list much longer. The nutrients most affected are calcium, iron, folic acid, vitamin K and many B vitamins.
If you're nervous about trying supplemental hydrochloric acid, you can do a trial with 1-2 TBSP of organic apple cider vinegar mixed with 1/8 to 1/4 cup of water after a meal. If it makes you feel better and does not hurt, you most likely would benefit from taking 300 - 500 mg of Betaine HCl with your meals. Start slowly and work up to this.
If you are afraid of HCl, you can take a dropperful of Gallbladder Bitters with your meals which stimulates digestive juices including both HCl and bile. To curb sugar cravings, take the bitters after your meal as well."
"Risk Factors And Causes Of Low Stomach Acid:
Irritable Bowel Syndrome
Candida & Other Yeast
Bacterial Dysbiosis or infections in the gut
H. pylori infection
Stress, even in children
HCl production decreases with age
Diseases Associated With Low Stomach Acid:
I agree with Red Stars excellent post, I would also like to add that you may have a lactose intolerance, what leads me to say that is you said one time it happened after eating lots of ice cream, and another time after cheese and yogurt. Candida, and food allergies are often caused by low levels of stomach acid.
I would certainly give the apple cider vinegar a try, and then the HCL supplements.