Maybe you are dehydrated.
@462,620 (Meowth)
i drink a lot of water in bed (it's a water bed)
@previous (A)
Do you actually drunk water out of the bed? This might be part of the problem.
@OP
Sometimes it happens to me too. For me it's severe caffeine withdrawal. Which I remedy by making a pot of coffee and then drinking it.