The mechanism underlying this effect is unknown, but it is quite likely that vaccination gave a false sense of security leading to behaviour that increased the risk of a potentially fatal infection. This effect was certainly clear in the case of masks, with some self-righteous mask wearers quite ready to shove their faces and imperfectly filtered breath in the faces of the unmasked, thereby exposing themselves as well as others to an increased risk of infection.
Related: