When its body dries out, it weakens. So it wraps a membrane around itself for protection while it spits poison.
When its body dries out, it weakens. So, to prevent dehydration, it wraps itself in many layers of thin membrane.