Obliviosity
You're so lost in your own head that you think your thoughts are coming from a different person.
He was talking to himself and thought he was arguing with his brother.
She told her dog to go to sleep and then realized she was talking to herself.
He said, 'Why is my brother yelling at me?' and then realized he was yelling at himself.