you probably pulled/strained either a hip flexor or your groin muscle
it happened to me a while back when I was doing a shitty little atw-htatw combo, and then before that when I did one too many ahjatws (not in a row, obviously)
just rest up a little, and stretch before you fs