Your clownfish most likely died from Brooklynella, a common killer of wild clownfish. Wild ocellaris are extremely hard to get healthy and free of brooklynella, so always buy tank raised ocellaris if you can. In order to treat the fish, you must do a formalin dip, in saltwater or fresh, but...