The Spanish for “anger,” rencor, has a fun English cousin: rancid.
Both words come from the Latin rancere, meaning “to stink.”
Thus, literally, both rotten food stinks and, anger stinks.
We can see the relationship clearly if we see the r-n-c mapping between the words.