I'm not too sure if I can constitute it as flatworms, as there could be a large number of factores that contribute.Lighting? Flow, who knows!
One of it definitely looks like flatworm
Do you have pics of the otherside of the corals?
Would need more evidence to conclude.