There are some benefits to not using a gun, in the sense of not having explosive power that will blow up if hit. Watching the tank turret toss competitions in the Ukraine war is a good example here.
I don’t think it would even be possible to build a bow capable of matching a cannon. If it was, it would be so large and fragile that any decision based on fragility is meaningless.