First few minutes after waking up

I have this problem recently. No, it's not about morning wood. Almost every day, when I wake up, I'm a different person. Usually, it lasts less than 20-30 seconds, I have series of thoughts, deprived of any emotion, subjective goals, or my life "context". As if things I'm supposed to think about aren't loaded in my brain yet. And those thoughts are grim, always something like this :

"my life is actually meaningless on greater scale"
"death is ok"
"humans are bad terrible creatures, but we…

First few minutes after waking up