Glad the Yucca have started to bloom. The seed pod looking things hanging down are exactly that, seed pods that formed when the flowers were pollenated by insects while blooming. Depending on your level of gardening, you can leave the flower stem and seed pods for winter interest or remove by cutting it off after it has finished blooming. More energy will go into the yucca if you remove the stem. It is quite woody and I do not believe you will be able to remove it by pulling.
I hope you find this information useful
Richard Hentschel