The context of the following conversation is Once Lee became upset and started to cry, Riley stopped teasing Lee.:
Riley says I was teasing Lee earlier today..
The friend responds That's not very nice of you!.
Riley responds No, it wasn't. I stopped when he got upset..
The friend responds Why did you do it?.
Riley responds I was just playing around I didn’t want to upset him, but he started crying and that made me feel awful..
The friend responds Maybe that'll teach you to never tease him again!.