> an evolved trait
This is obviously not correct. There's no way to encode "you must hate and kill the tribe next door" into DNA. Clearly this behavior is emergent in the population. Perhaps what's an evolved trait is "have neurons with some mixture of properties, and response to hormones that tends to produce angry homicidal assholes in the presence of competition for resources".