Helpppp

Can babies get constipated? My baby is 2 weeks and just this morning she kept waking up i feel like maybe cause she can't poop well? I give her my breast milk and Infamil (formula) of new born. She was doing well yesterday but she keeps doing a pushing noise? And wont sleep 😩

Has your baby had something similar to this if so what was it?