Envy of cat

Sometimes when we return home after petting the outdoor cat, we look at the face of the indoor cat and it looks a little different. They can easily smell other cats from our hands, clothes, etc.
But why are they jealous?
If there is a change in their eating routine, they get jealous. They are just like us, just as we have our own separate personal lives, so do they. If they smell other cats then they feel helpless. Moreover, they feel neglected when we sit down to wear them or sit down to type on the computer. That’s why they are jealous.
So how to deal with these issues?
Then they cannot be given catnip
Refrain from doing things in which they envy
If they are too angry then you can give them their favorite treat
A vet can be consulted if necessary.