Why does this seem illogical to you? Aquinas defined "love" as the decision to pursue the authentic good of another. God certainly wills the authentic good of each one of us. Part of that "authentic good" is the freedom of each of us to pursue that which is not authentically good for us, even up to and including the ultimate "un-good" of hell.
Very convenient, thanks