ESV
3 Again he entered the synagogue, and a man was there with a withered hand. 2 And they watched Jesus, to see whether he would heal him on the Sabbath, so that they might accuse him. 3 And he said to the man with the withered hand, “Come here.” 4 And he said to them, “Is it lawful on the Sabbath to do good or to do harm, to save life or to kill?” But they were silent. 5 And he looked around at them with anger, grieved at their hardness of heart, and said to the man, “Stretch out your hand.” He stretched it out, and his hand was restored.6 The Pharisees went out and immediately held counsel with the Herodians against him, how to destroy him.
Why was Jesus angry?
In other words, what service were “they” in verse 2 tasked to do per Torah?
I would say “they” were more concerned with keeping their interpretation on how to keep the Sabbath than healing or helping others aka doing their religious duties as God intended them to do. We see “they” many times confronting Jesus in regard to “working” on the Sabbath.
When we look at “why” Jesus healed, it was a teaching moment. It teaches us that we do what is right, even if we get persecuted for it.