It's the "You had that beautiful best friendship with that girl and now you have just ruined it because you let your lust took control of yourself" situation. He was forced to say it because she established that friendship ended at that moment, with or without confession.