Genocide is, at base, an after-effect of other things. Genocide is rarely, if ever, a basic cause or intent of any group, no matter what they might claim.
What most violence stems from is hatred and ostracism, a 'me vs. them' philosophy which demonizes the 'them' to the point where people believe they have no right to exist.