Male swordtails sometimes use their "swords" to fight each other. Kind of like how guys fight over girls, its a male aggressive thing. My swordtails do it all the time, its kind of funny looking. They don't seem to hurt each other, I have had both swordtails since the day I joined this forum and they are both in seemingly fine health. If your swordtail is "fighting" other fish besides his own species he could just be aggressive so I would keep an eye on him.