My larvae have produced webbing. Why are they doing this?

Is it normal to have spider webbing in the cup with our caterpillars?

This is a normal behavior for painted lady larvae. The webbing protects the larvae from predators and drying out. The larvae also use the webbing to grip onto their host plants as wind can blow them off the leaves.