Almost 1 month old baby

jackie

My baby has been having a hard time pooping nd when he does it comes out green with yelowish seeds like the picture below just today a while ago it came out like the yellow poop below as well. His

stomach is always rumbling i think thats how you day it and he throws up sometimes i know he in pain because he cries at 9ish or 10ish these past 3 days it's been happening what can it be please help! Also he looks more swollen

from one side of his belly why