It is normal for people to feel bad but it is better to try to make them feel good. It's not okay to sit alone and treat everyone badly when you're upset.
When you are upset you should try to have fun with everyone and have a little laugh with them. Then the mind will gradually get better.
There is another aspect, if you are in a bad mood, then sit down to pray to Allah, then you will see that the mind has already become good.
There are many more ways to make the mind better. When the mind is bad, reading the Qur'an makes the mind much happier and better. No bad intellect or bad thoughts come into the mind.

