Answer:
The 10 Commandments (10C) are presented as being of divine origins, while the Code of Hammurabi (CoH) is of a earthly origins. About half of the 10C deal with how the Hebrews interact with their god and half how they interact with each other, while all of the CoH is civil in nature.