Yeah, there was definitely a communication gaffe on the part of the person trying to address OP's behavior. Some people (OP included it appears) need very direct communication that would be rude if directed at _other_ people.
Unfortunately the indirection ("be more empathetic") is the safe/polite/un-hurtful bet for a huge percentage of the population. The majority of people hear that and pick up on the implied request to be more sensitive.