Emotions are not just a product of our physical brain matter. (I’m not denying the role physical things can have in regards to our emotions; but the physical condition contributing to evoking an emotion is not the emotion itself.) As Aquinas says, they are assigned to the soul. **The soul **is not physical, it **is **the spiritual, immaterial part of our human nature.
All one has to do is realize that those who have died and are in heaven are currently experiencing joy, etc. – and those in hell are currently experiencing anger, etc.
It is only their souls that are currently present there and experiencing these emotions/appetites/passions since the resurrection of their physical bodies has not yet occurred.