Multiple personality disorder? Though, I dunno if it's MPD if you don't "actually" separate onto separate consciousnesses, with different memories. Any time lapses or blackouts? Unlikely, but if so: might could be.
It might just be your perception, and it really is just based on your moods. Some underlying feeling which you aren't consciously aware of, but which makes you feel unwell. An object, a smell, a feeling in the air, a word or various words, a sight, etc. And, it's hars to be compassionate and understanding when you are unwell.
In any case, trying to find the trigger would be the best thing. I think you need more information.
Mindfulness might be good. Sustaining awareness as much as possible. Catching yourself when you go into zombie or "automatic" mode and slowing down and really paying attention to everything. This will allow you to focus on said senses, perhaps letting you find the trigger. With the added benefit of increasing your chances of gaining conscious awareness when you're dreaming, with the potential to speak directly to your unconscious mind.
It ain't easy, though.