8 week old with bad gas

Ka

My LO has had bad gas pains pretty much from day one. I breastfed for a little over a month but even after trying to change eating habits (I.e dairy) nothing helped. Now he’s on formula meant to help gas and colic. It’s dairy based. Gas is still present and very painful. We use the vitamin d and probiotics given by our doctor but he still has the gas pains and belly aches.

Could he have a dairy sensitivity rather than an allergy? The gas is literally the only symptom. Will he grow out of it? Could it be non dairy related and just his system needs more time to mature?