It could have been a parasite, or any other contagious fish disease.. I recommend you sanitize the tank the 2 died in reaaaaalllyy well.