Were the fish new? Was the tank new? Could be they were killed by ammonia.

I’m sorry for your loss.