the tree forms the gall which then houses and protects the larvae until they hatch