Skeletons without bows can still shoot arrows
When you remove a skeleton's bow by using commands and change your gamemode to survival, the skeleton can still shoot at you even without a bow.
You can reproduce this problem by using the command below to change the skeleton's weapon to a stone:
/replaceitem entity @e[type=skeleton] slot.weapon.mainhand 0 stone