Knowing something and overtly causing it are two different things.
Isn't being the Creator of all, the same thing as causing it?