This trumpet shaped structure is made by a moth caterpillar in the Pyralid and Crambid moth group, and constructed of frass (insect poop). In this, the larva can hide.