This pretty much explains it to best of the knowledge we have today.
Now that I have read the first few sentences, I have had that same thing happen to me when I was much younger. Someone startled me when I was sleeping and I couldn't scream or anything. Weird