It's a sponge (I've always called it spaghetti sponge -- don't know if that's what it's really called). You can just pull it off if it looks like it's causing your zoas to stay closed.
It's not making them close, they had just been trod upon by a shrimp. I kind of thought sponges are good, aren't they filter feeders, they help clean things?