Most people aren't aware that laying on their right side can cause gas to build up in your colon
and form a gas bubble. The way the colon
is shaped and with the gas rising upward, when laying on the right side it gets trapped in the ascending and transverse sections of the colon and is not as easily expelled as it is when laying on the left side.
I recommend trying some OTC treatments like beano, gas X, prilosec, prevacid, Mylanta, mylox etc. for a few days.