I guess the clue is the tank size. Swordtails are extremely energetic swimmers- I wouldn't keep them in less than a 3 foot tank, preferably 4 foot. I reckon she feels hemmed in. Sex ratio probably isn't helping; there should be at least 2-3 females to keep that one male busy. If she is being pestered by constant demands for sex, this could make her more irritable. Unfortunately, there is no room to buy more females, the tank seems fully stocked already. It could also be that she is pregnant and that makes her irritable as the tank is too small to allow her her own space (I remember the feeling well

).
The best options would be to either rehome the swordies or get them a bigger tank. If this is not possible, you might try with planting the tank, to give them each their separate area. If this does not help, then I think you should look at rehoming them.