Because human life was made in the image of God (Genesis 1:26, 27), murder was seen as an attack against God himself. It carried the same penalty as speaking blasphemy against God (Genesis 9:6). For a similar law and its details, see Exodus 21:12–14.