Were these Braxton Hicks that I was feeling? I'm a FTM.

I had bad cramping the other night that went on and off for a couple of hours... It got so bad I also started throwing up. I never even had morning sickness in the first tri, so the throwing up was super strange. But the thing that makes me unsure if it was actually Braxton hicks was bc the cramping pain was kind of high, like between my belly button and ribs, so not really where I would expect them, but honestly I don't know what to expect bc this is my first pregnancy. While it was happening I didn't even think Braxton hicks was a possibility, so I didn't feel my stomach to see if it felt hard while I was having the cramps, so idk... What do you experienced mom's think? I am 21 weeks today and will ask my doctor about it at my appointment next Wednesday. Thanks in advance!