Impossible to say without more info. How long has your tank been running? How long have you had the fish? Were they eating good? Did they look healthy...frayed fins, sunken belly, sore, spots, etc?
What is your salinity and how do you test it?
What is your nitrate and ammonia and what brand...