It originated in the BDSM community, as when people are deliberately engaginging in acts that would normally be considered unpleasant the issue of how what is particularly exciting to one person could be particularly disturbing to another is a vital consideration.