Because, as has been pointed out, these vaccines are not 100% effective. You might still get sick, albeit, less sick.
So the vaccines are not 100% effective. Therefore the community should be able to force vaccinations on all against their will? Not much logic to your argument. How is it a non vaccinated individuals fault if someone elses vaccine is ineffective?