Left tree radical - the indexing component.
枪 originally referred to a wooden spear or lance, hence the wood marker. The meaning later extended to firearms once their stocks were still wooden. Same radical anchors weapon-shafts and tools:
棒 (stick),
板 (plank),
椅 (chair).