Shaking up your routine and seeing new sites sparks inspiration. You generate creativity as your five senses take in a new environment.
It makes sense. The more you brain gets exposed to new senses and activities, the more it generates new thoughts, feelings and innovations from the inspiration gained. Ernest Hemingway used experiences from Spain and France as inspiration to write much of his work.