That is, you were asleep at that time, that is, you suddenly woke up in a dream, and the brain cells were still asleep, but they were fine after a while, that is, the brain cells had awakened.
In fact, it's all because of your sleeping position, or because you are too tired.