God was a touchy and needy kinda God, hence his admonition to have no other Gods before him. So God was just showing off to the other Gods when he created this universe.
The granting of a pardon is an imputation of guilt, and the acceptance a confession of it.