My understanding is that it is a secondary infection, that the coral gets damaged and then brown jelly sets in. In my case, my coral was big and beautiful, maybe too big for my tank and the flesh may have rubbed on rock or the back wall. I really do not know what caused it but I do know I could not stop it. It was devastating to watch the coral die. It was a beautiful coral. I felt helpless.