CB Spencer's death in the comics was very much self-inflicted. The character chose not to trust Rick Grimes and, in doing so, made himself untrusthworthy. The new oppressor of Alexandria is not a fan of people he can't trust.