Choking in my sleep?

I’m 36+4 currently. Been having a lot of period like cramps and tightness in my belly. So this is a weird thing. It’s happened once before and just now again today.

I fell asleep a little bit ago and woke up feeling like I was choking. It seemed like I had thrown up a little in my mouth in my sleep and choking woke me up. I woke up coughing and trying to clear my throat/lungs. Then I stood up to get some water a vomited more.

This happened one other time, maybe a week ago- I woke up in the middle of the night choking on what tasted like puke, didn’t vomit after that time tho.

Is this just some sort of acid reflux issue that I’m having? I haven’t heard of anyone else having this issue, but it’s freaking me out and not fun! Any advise would be appreciated!