Keep in mind that in their regulations, the Jews specifically said you could do no healing on the Sabbath day. Let's say a man was bleeding to death. You could put a tourniquet around him to prevent him from dying, but you could put no ointment on the wound that might bring healing. Jesus asks, "Why is it that your regulations say if a sheep falls into a pit on the Sabbath, it's okay to bring him out, but a man cannot be healed on the Sabbath?"
That's what the law always does. When you become all bound up in regulations, traditions, and religious rituals, your heart becomes cold and hardened towards people. You constantly judge them and find fault with them. Religion apart from relationship will make you a pompous, snooty, holier-than-thou Pharisee.