Predation is feeding behavior, and usually involves a large fish swallowing or biting a much smaller fish. Almost any fish can be a predator if presented with the right size victim. A few fish also feed on parts of other fish, such as eyes, scales or fins. Thankfully, most of these species have never become common in the aquarium trade.
Reproductive violence includes spouse abuse, fry-eating and fry-defending. Mating behavior in fish often includes contests of strength, with jaw-locking and wrestling. In the wild, a fish that’s tiring in such a contest can break off and swim away for a while; in an aquarium there is no “away.” A fish that is weaker may be rejected and driven away by the winner, who will then await a stronger suitor. Again, in a fish tank the rejected fish can’t leave, and the winner will keep trying to drive it out until it is killed. Fry-eating is, oddly enough, an evolutionary survival trait. Laying eggs is a huge expenditure of calories, and a fish in an unsafe or unhealthy environment may retrieve those calories to help it survive to try again when conditions are better. Conversely, a fish defending eggs or fry may become quite fierce, killing or injuring even much larger fish if they don’t back away. In species that don’t normally care for their young, fry-eating is just hunger.
Some fish require a certain space that is “theirs”. Most territorial fish focus their aggression on similar species; a blue gourami might attack a dwarf or kissing gourami but ignore a platy or tetra in its territory. The size of a territory varies by species and terrain. A tank with lots of wood, rock or plants offers more visual barriers and therefore more territories than a mostly bare tank. Crowding can suppress territorialism; at a certain point most fish (except bettas!) decide that defending a territory is hopeless and quit trying. That’s why you see a lot more fighting in a tank with 3 cichlids than in one with 20.
In some species there is a dominant fish in the school, who must assert his/her status by nipping and harassing the rest. In a large school this is harmless. Where there are only 2 or 3, the weakest fish is picked on relentlessly because there aren’t enough others to distract the alpha fish. If these species are kept singly, they often try to herd and control other species with damaging results. Many barbs, danios and some tetras fit this description; to prevent problems keep them in schools of 5 or more.
Understanding the roots of fish aggression can help us figure out steps to reduce it, but we can never be entirely sure. Despite their tiny brains, fish are individuals. Instincts evolved for lakes and rivers may not work as expected in a rectangular glass box. Living creatures are unpredictable; that’s why aquariums are more interesting than fish screen-savers. Whether influenced by a brain tumor, low blood sugar or too many video games, sometimes a fish is just plain mean.