I think Innovator means is, what caused the brown jelly. It could be from something irritating the head causing the flesh to recede and become infected. Sometimes it's hard to know why these things happen. It could have been damaged before you got it. Isn't this one of the newer corals? Good luck with it.
*edit* and he beat me to it.