Could it be the formula?

Mia🖤 • Mommy to my baby boy 1-13-2018💙👶🏻

I give my 1 month old the yellow can of enfamil and hes always getting gas pains and being fussy. Could it be the formula? Should I ask his doctor if he might have a milk allergy? My mother in law said no cause he would be throwing up if he did..

What do you guys think?