Straining

I currently use Enfamil infant my baby was doing good on it up until a week ago lately he’s been straining to poop and pass gas is that normal or could it be the milk

Also started spitting up not sure if it’s from him straining so hard but he’s definitely not dehydrated