This caterpillar has been infected with a parasite. The parasite makes its eyestalks react like this so birds can see it...
My god that looks painful.
It’s a parasite. It’s trying to make the snail look like a caterpillar so a bird will eat it and then its eggs will be...
It’s trying to communicate with us
parasitism, but you’re pretty close