Emotional adulthood


If I go to someone and tell him/her: “when you do/say this, I feel this way (some unpleasant or painful emotion)..and that person answers: “I don’t care because that has only to do with your thoughts about what I do/say and not actually with what I do/say, so I’ll keep doing that and you need to change your thoughts” isn’t it a sign of a toxic relationship?