C. Botulinum has a complicated life cycle that involves infecting vertebrates, killing them, and then infecting the invertebrates that feed on the body during decomposition. The bacteria don't particularly care about the host and just want it dead as quickly as possible so they can get on with their real hosts.
[1] https://doi.org/10.1093/femspd/fty040