That bundle of twigs is a house, and the animal inside built it. The caterpillar spins a silk case and covers it, first with leaves, then with short twigs laid lengthwise, and drags it everywhere it goes.
If it's a female, she'll never leave. She turns into an adult inside the case with no wings, and the male mates with her through it, reaching in with his long abdomen. Her whole adult life happens in a house she made as a child.
Biologists have a name for things like this: the extended phenotype. The idea is that an animal's genes shape not only its body but what it builds. A bird's nest, a beaver's dam, this case. Every twig was laid by an instinct that was handed down, generation after generation.
Look at how neatly the twigs line up. That's not decoration. That's inheritance.

