Butt cramp sorry TMI!! Help

Emily
It normal to have cramping while pooping? I'm 21 weeks pregnant and while pooping my stomach cramped up and then my whole anus got a BAD cramp in it that last a few seconds. I haven't been constipated I've actually had diaherra. Should I be worried???