I've had this kind of experience many times before as well, where you feel yourself in bed, but your other senses tell you otherwise. If I have to come to a hypothesis, I would say that being tired, not sleeping comfortably, etc. is a likely cause of this phenomenon.