Logic is not created, it just is.
You can have plenty of choice without the ability to do evil.
It’s not a question of choice, nature for example doesn’t have any choice, and there are illnesses and natural catastrophes. It’s a question of being. God being the Good, they can’t create something purely good that is not them, or bound by them, thus or not different, or not free. But they didn’t created evil, evil doesn’t exist, evil is just something not good, thus not God. And it’s a spectrum, from almost good to almost not good.
The actual argument is everything has to have an origin inside the universe, thus our universe to exist must have a cause exterior to it. We call this cause God. It’s not a question of higher being, just that a universe where the effect predates the cause can’t hold. God is not less omnipotent because they can’t make a round square.
I thought I answered this question twice, I’m sorry if I’m not clear, English is hard for me. So I’ll try again: because it’s logically impossible to have a universe which is not a part of God, thus independant and free, that is also perfectly good, as God is perfectly good. Put as a formula, the formulas