For the same reason that people should be required to get vaccinations. An individual incurs a small risk (complications due to vaccine) to provide the community a larger benefit as a whole (herd immunity).
The presence of a gun in a home make it several times more likely that a resident of that home is killed by gun violence. The presence of a gun in a community at all increases the likelihood of gun violence.
The presence of a gun in a home make it several times more likely that a resident of that home is killed by gun violence. The presence of a gun in a community at all increases the likelihood of gun violence.