It is very difficult to tell by those pictures, but it looks to me like they are mesenterial filaments. If that is indeed the case, then either something mechanically damaged the location or something prompted the coral to evert them. The latter can range anywhere from food, another coral's slime, pieces of another coral, etc. Chemical cues in the water can also cause them to evert filaments.