What I like about this answer is that the Dr. considers several possibilities, not just the standard "He's an asshole, leave him".
IMO opinion this is wise because there can be many different explanation for a given behavior, and also many different ways to handle it. Instead, rigid thinking sees only one way and is therefore very limiting: "X happened, that means Y, therefore you should do Z"; no other way can be considered.
Of course his behavior is disrespectful and inconsiderate. Yet, there can be more stuff underneath, and maybe it's worth exploring it.