Uncharted terrain, wild exo-animals, unpredictable xeno-organisms resulting from teleportation aberrations, interplanetary pirates and all kind of mercenaries. Those are only some of the reasons that influenced the perception of weapon posessing among the colonists on all planets. Some colonies even required it.