Quite sure they are protected by a mucous coat around them, which protects them from the anemone. They are offered protection and in return, clownfish are able to attract predators to the anemone where they are poisoned and eaten. Symbiotic relationship.