Hi Matthew! The good news is, it is normal!
We have a hormone called anti-diuretic, which is released at higher levels when we are asleep. This hormone direct cells to retain water. As a result, we don't have to urinate. By doing so, this helps us to stay hydrated which keeps us from feeling thirsty at night.
The same thing works for hunger. When we are awake again, our body starts activating these functions again, like how we would realize we need to have our breakfast and/or go to the bathroom to urinate.