Destroy gameObject not destroying child

I’m a student and new to scripting and unity. Bombastically my Destroy(zombieToDie.gameObject,5); seems to only be destroying the ZombiePrefab but not the ZombieMeleeWeapon its holding? Shouldn’t destroying an object destroy everything inside that object as well I’m a bit confused?

here is a pic of the hierarchy the ZombieMeleeWeapon(clone) is left behind after destroy function in initialized?


Hey thanks for the info just to let you know it appears the pack i was using (supplied by uni) has a drop weapon function that was enabled so i just // it out and its all working again