Why does Genocide Happen?

Genocide happens for a number of reasons, none of them good. It may be because a segment of the population feels slighted by another segment and retaliates, or because a dictator feels threatened by a group of people and decides to try to wipe them out.