was anyone's baby given zantac for reflux?

Michelle
My baby has been taking zantac for reflux since Monday and today he was constipated and was in pain all day I couldn't get him to nap and he wasn't passing gas. I used windi and he pooped finally but it was hard little balls. Now he is passing gas again. But I wonder if the zantac is what is causing it? My poor baby I hate to think that he is uncomfortable or in pain it makes me want to cry myself 😭