Sometimes when people talk to you (or even about you) it’s more about them than it is about you.
People come with their own “stuff” or lens through which they see things. Most of the time that stuff pre-dates your relationship to them. So when you’re affected by something they’ve said, it may just be about them. Maybe this is a good time to take things with a grain of salt. It takes time fine-tune this type of listening (or not) but it’s a skill that will save you a lot of heartache from taking things personally.