If a married woman has caught a disease, her husband shall marry another woman and take care of his first wife. It´s just because the second wife and the husband can take care of the first wife.
If a married woman is caught cheating on her husband, she and the man she made out shall be tied together and throw them into the water. It´s just because that is what she gets for cheating on her husband
If a surgeon has saved a free man´s life, he shall receive 10 shekels. It´s just because the surgeon who did the surgery on the free man deserves to earn those shekels for helping that free mans life