See SA Choshen Mishpat 7:8
«Two Talmidei Hachamim who dislike each other [perhaps rivals] should not sit together to judge, because due to the rivalry between them, their minds are made-up to merely contradict their colleague.»
Thus we see that even scholars are not free of emotional baggage [pettiness?] And are willing to set aside seeking the truth in order to gain via one upsmanship! This desire produces the emotion of "oppositionalism" which clouds reason
The Halachah at times can be SO psychological incisive and emotionally sensitive.