I have kept coming back to this thread, and I think the answer which works best for me is - is the pain being given because the pain giver likes the pain receiver, as in a lifestyle act; or does the pain giver dislikes the pain receiver, as in a depressive or abusive act.

Note that in both cases the pain giver and pain receiver can be the same person.

cariad