For sure. Its like if your boss used an algorithm to decide your pay, and he wouldn’t disclose this algorithm to you. Some months “the algorithm” declares all your work bad and the boss pays you nothing. Meanwhile, you can see other employees’ much worse work getting paid regularly, essentially because they’re more popular and the boss likes them more. Anyone would feel unfairly treated under those circumstances, and would harbour a great deal of resentment.
Most people would leave such a “job” or try to game the algorithm, but killing the boss does also look like an obvious (if wrong and probably unproductive) option!