Some people hold on to their memories of coffee, and sometimes these memories are sad. I have also known stories of people who stop drinking coffee because of similar situations, and it is quite complex how they explain their decision. The good thing was that you managed to talk to your friend and understand. That's what friendship is all about, understanding 😊.
Cheers!