This brief mismatch is usually set off by things like high stress, poor sleep, anxiety, irregular schedules, or severe exhaustion. Essentially, anything that disrupts the rhythm and quality of your sleep can act as a trigger. Having said that, this phenomenon can also be a result of inability to adjust between time zones when you are traveling to another country away from from your home, and even sleeping on your back.
In order to avoid it from happening, try getting regular sleep, avoid screen time right before going to bed, try to manage your stress, and create a quiet and comfortable sleeping environment.
In case it still happens, focus on your breathing and try to move just one finger or toe. Bit by bit, your body will loosen up and movement will return.
The thing about sleep paralysis is that it is one of those experiences where biology and belief collide in a powerful way.
Across cultures and centuries, people rarely thought of sleep paralysis as of a neutral bodily glitch. Instead, people tried to interpret it through the system of beliefs they already relied on to make sense of danger, mystery, and things they couldn’t see or explain.