Cats that seem to misbehave are rarely acting on purpose, according to a Catster article. The piece says behavior that looks like naughtiness can reflect instinct, illness, stress, or a poorly enriched environment.
The article lists several possible causes. Stress from household changes, such as a new family member, strange cats outside, or home renovations, may lead to spraying urine, scratching furniture, hiding, or attacks on other pets and people. Fear may appear as restlessness, appetite changes, excessive grooming, or hiding, and the article says it is usually linked to trauma, illness, pain, or poor socialization.
The article also says cats often hide signs of illness and pain, so behavior changes should be taken seriously. It gives the example of a cat urinating beside the litter box, which may point to arthritis or a bladder problem. Litter box problems can stem from the box's size, cleanliness, noise, location, or enclosure, and the article recommends a vet check first.
Unneutered and unspayed cats may show hormonal behaviors such as spraying, roaming, and aggression, which the article says neutering or spaying tends to settle. Territorial behavior, including spraying and fights with other cats, can also be triggered by multi-cat households