When startled, the caterpillar shows the eye spot pattern on its front body segment, which gives it the appearance of a snake's head.