Because Black Sludge damages non-Poison types, it discourages the use of Trick or Switcheroo. This not only allows Poison types to keep their reliable recovery, but also prevents other Pokemon from gaining their benefits like they might do with Leftovers.
Trick and Switcheroo are somewhat uncommon competitively, but any advantage is a good advantage, and that's why Poison types prefer Black Sludge.