Could have been a number of things. Bacterial infection from a small nip can kill fish rather quickly or gash from a rock during a chase really to many possible scenarios. Keep in mind that some fish species that have been weakened by infection or illness will hide intill they die or recover. Sorry for the loss