This is precisely it. I have a math-heavy job and play/write music, and the same phenomenon plays out in both situations: when reading sheet music or thinking in music theory is in your muscle memory, your entire conscious mind can focus on the actual, creative task at hand.
This should be obvious from any number of examples, from driving a car to typing as a programmer. Reducing the friction between your brain and your tools simply makes you more effective.