Maybe your mind was simply shifting concerns over to a less emotionally fraught subject, but still in the same line? Were you dreaming this or was it when you were awake? Either way, I do believe that our minds work things out in very odd ways sometimes. But I agree that it can be very disturbing, whether a dream or a line of thought we cannot change.
I hope the mood dissipates and quickly.
I hope the mood dissipates and quickly.