 These attacks can either be impulsive and spontaneous or well-planned out and premeditated.Factors such as gang rivalries, overcrowding, minor disputes, and prison design contribute to violent attacks.Prisons are trying to avoid, or at least better deal with these situations by being proactive.