If you haven’t already read “The Righteous Mind: Why Good People are Divided by Politics and Religion” (Haidt, 2012), it gives a very compelling account of why the phenomenon occurs.
(And why, unfortunately, usually it is in play well before feelings even appear to be involved.)