Does your baby cry before pooping?

My baby girl is 3 weeks old and I've realized these past couple of days she cries before pooping or passing gas. After she poops, she stops crying. I don't think it's colic but wanted to see if anyone else was experiencing the same. I know their digestive systems are now kicking into gear - could that be what it is?