Vaccination is not a magical elixir that shields us from bacterias and viruses. It “only” allows the immune system to recognize the pathogen quicker and react more effectively. But we still get the immune response, necessarily. If we’re unlucky, with many of its downsides. The point is: the infection is much more likely to be nuked early (maybe without symptoms), less likely to cause serious harm, and not as likely to transmit.
Some people may still develop the illness, though it may be less severe it would be otherwise. Some may not develop immunity in time. Some may get in contact with strains they were not vaccinated against (evolution serves flu well). Some may have flu-like symptoms from a completely different source. It’s always throwing dice. We just “cheat” with vaccines by making the dice very favourable to us.
Since this is an electric safety thread (at least one related to), it’s really a similar concept. We have procedures, precautions, and best practices to keep us safe. But it’s not 100% risk free. We only shape probability to serve us, but once in a while an accident is deemed to happen regardless.