There are many species of fish that are naturally schooling/shoaling species. In the wild they live in large groups, perhaps hundreds of individuals. Their behaviour is "designed" for such an environment.
Being part of a large group involves substantial "sociological" behaviour. Certain fish are more dominant, others less so. Permenant activity exists to reinforce pecking order tables.
In large groups, the aggression shown in pecking order disputes is mitigated by the number of fish in the group. A very dominant individual "bullies" slightly, several dozen other fish. The "other fish" are not overly bothered, they learn and live to fight another day.
In very small groups, the attention of dominant fish is focused on a much smaller group of individuals. Frequently, atypical behaviour ensues, and a dominant fish will harrass to death a subordinate. It has no other outlet for it's aggressive tendencies.
For this reason, many naturally shoaling/schooling fish should be kept in groups in the tank. The aggression of the pecking order is disipated amongst the members. Too small a group, individuals get picked on and killed, then there were less, so the next least dominant gets picked on, then there were less.... osv.
Having a large group will not stop chasing, but reduces the impact of chasing on individual fish.