The vaccine is not 100% effective, even after the second dose, that's why herd immunity is so important.