Who granted the capacity to choose good or evil?

Divine Decree, Will, Human Choice and Justice