Because vaccines unfortunately aren't 100% effective, meaning unvaccinated people put everyone, including those that have the vaccine, at risk.
It's comparable to seatbelts in a way. You're mostly risking yourself by not wearing one, but in certain circumstances you're risking others.
-- Defeating the Running Man of Ocarina of Time in a race since 01/17/2009. --