If you believe God is the creator, then all things in creation proceed from him.
If God was different, creation would be different and the logical ability to understand it would be different. Or atleast it possibly could be.
Which means logic is defined by God and how he percieves things (or whatever appeals to God’s aesthetic sense) as reflected in creation.