There are many reasons why your cat might be upset with you.
Any little thing can cause a cat to be offended. But some actions of the owners are especially offensive to cats.
Firstly, you can't shout not only at the cat, but also in front of it. For cats with their sensitive hearing, loud sounds are simply unbearable.
Secondly, try not to leave your cat alone for long periods of time. Contrary to popular belief, cats do not tolerate loneliness well.
But the cat does not need constant attention from its owner. When the cat is busy with its own business (resting on the couch, licking itself), it is better not to disturb it.
At the same time, the owner should not have personal space. The cat needs to know everything that happens on its territory, a closed door is a reason for serious offense.
Also, your cat will definitely be offended if you get a second pet. Even if it is just a snail.