Yes Fuzzy, ask the person.
I agree with Sabby.
If it's hurtful, and you know it was intentional, than you can avoid the person, and it would probably do you a favor.
If it wasn't meant to be hurtful, and the person was having a hard time, you can release the hurt you feel.
Sometimes though, we do hurt those we care about. It's because we are hurting.
Like an injured beloved pet, when their sore spot is touched, either because we don't know something is wrong, or they have pain there and we forgot, the pet will swipe you - it will howl, whatever it takes to get the person away from the source of their pain.
Or they are swiping, howling or hissing, having a good old time for a simple reason like play.
If it were a beloved pet, we would find out.
If it's a dear friend, we want to find out.
love,
night