Was Sagami always a masochist, or Chiaki is grooming him? Could be both.
But here Sagami got a taste of what Yui thinks of masochist, they're weird to her. Maybe he'll realize he isn't compatible with Yui, lose feelings towards her and fall in the abyss (Chiaki)?