Why does God give commands?
1) He loves all that is right - that says creatures should obey their creator; 2) He wants to give good to us, but we need to be open: commands tell us how to be open to receive.