Woke up vomiting🤮

In the dead of sleep, I wake up vomiting. In my bed! I thought I had food poisoning bc it only lasted an hour maybe two. But then I got to thinking...I don’t know what I would have ate that made me sick. I also felt fine the next morning, woke up at my normal time. And just tired through out the day. Was that really food poisoning? 🤔