New mom problems

Hey, so can anyone help me. My newborn son who’s only 2 weeks old is wriggling , groaning and fidgety when in my arms or on he’s bed or laid down to sleep. He only wants to feed and sleep on my chest all day. He’s first week home he would sleep well through the night but now he squirms and crouches he’s knees into he’s tummy almost all night. He seems sore. Is it gas? What do I do. 😥