Many top novelists, scientists, engineers, etc., have come up with ideas doing something other than work. We’ve all had ideas at odd times and contexts. Sometimes good and occasionally outstanding ideas or solutions.
It’s true that correlation isn’t causation but I think, in moderation, games do improve cognitive skills. If it becomes something the kid does all the time, then I think the lack of balance does more harm than good. Moderation is all things.