I usually get that way from post nasal drip. It happens to me a lot when I first wake up unfortunately.
Sorry to hear you were having a rough go of it though!