They are generally perceived as more intimidating.
When loaded with smaller shot, a shotgun will not penetrate walls as readily as rifle and pistol rounds, making it safer for non-combatants when fired in or around populated structures.