Are you asking about the origin of your gas and bloating symptoms?
Have you recently been to a doctor and if so, was it a gastroenterologist? That would be ideal at this time.
Not to get too personal, but what is the consistency of your stools? Constipation can look different than one expects. You can be constipated and still have bowel movements. Constipation is often involved for bloating and cramps.
https://www.hopkinsmedicine.org/health/wellness-and-prevention/bloating-causes-and-prevention-tips#:~:text=
Do you strain at all? Not feeling empty after a bm is another sign of constipation. IBS is something to look into (irritable bowel syndrome) or gastroparesis (delayed stomach emptying, which can cause bloating, nausea and even bowel blockage).
You use a probiotic. Those can be very helpful (either pill form or in yogurt or drinks). You have to do it regularly for effectiveness. Regularly drinking water also helps. Exercise can also help.
Please let us know if you have been to a gastroenterologist or if you plan to.