I suppose all thinking is a gift from God. I imagine that wholistic, right brain thinking can feel like it came from outside of ourselves when it didn’t. I also think ideas can enter our consciousness via mechanisms other than the physical senses or cerebral function. Sometimes that looks like inspiration.