The human gut contains a dense community of bacteria (known as the microbiome) that affects human health. Disruption of the microbiome composition can contribute to diseases such as inflammatory bowel disease. Bacteria in the microbiome frequently interact with one another through cell-cell contacts. Contact-dependent bacterial interactions alter the gut microbiome makeup, which has been linked to various diseases. One example of bacterial interaction involves toxin-delivery systems that help bacteria compete for nutrients and space. Here, we characterize a toxin family abundantly found in two major gut bacterial groups, Bacteroidota and Bacillota, and demonstrate its role in cell killing between different bacteria. We also identify protective strategies that competing bacteria have developed to counteract this toxin's effects. Our work describes a prevalent toxin and corresponding defense systems that may modulate the gut bacterial community. Identifying factors that disrupt the healthy microbiome can provide targets for treating illnesses like inflammatory bowel disease in the future. In sum, our study elucidates bacterial competition and defense dynamics that likely influence human health.