Cats can be fickle and sometimes feel cold. The word catty was born from that image.
The image of catty

Have you ever had an experience where a cat that was clinging to you suddenly scratched you or ignored you?
From that cold image of a cat, catty came to be used to mean "spiteful" or "sarcastic."
It is often used in situations involving backbiting or making snide remarks.
Remember it with an image!
▶ Points to note when using catty
catty is casual, but it is a negative expression. It is often used in conversations between women or regarding human relationships.
When used toward a person, it often refers to remarks containing light sarcasm, irony, jealousy, or malicious backbiting. Therefore, be careful, as it may sound harsh depending on the person.
▶ Expressions to remember
〇 a catty attitude "a spiteful attitude" "a malicious attitude"
〇 sound catty "to sound spiteful"
▶ Synonyms and related terms
〇 spiteful "malicious/spiteful"
spiteful is a malicious expression intended to hurt the other person. On the other hand, catty has a nuance of lighter sarcasm, irony, or backbiting.
〇 mean "spiteful"
mean is frequently used in everyday conversation and is also used when someone is being unkind or acting without consideration toward others.
Note that catty also has the meaning of cat-like, but this is not very common. Please judge based on the context.
Summary
Did you get an image for catty, meaning "mean"?
Cats are often depicted as fickle creatures. I am more of a dog person because of their strong loyalty, but I find it interesting that the "ever-changing, mysterious personality" of a cat came to be used to mean "mean."
English becomes much easier to remember when you associate it with images. Let's continue to enjoy learning English together!