its a evolutionary change so when other fish bite, they will bite the long fins instead of the fish. same with the red on the fin, its to distract the other fish, especially the fin biters in their natural habitat. think of the smaller serrasalmus that feed almost exlusively on fins and scales, this gives them something to feed, without it puncturing the actual fish skin/
Can't believe no other fish bit this off.