There is no apparent "logic" behind them, but we usually feel key changes are necessary to keep it interesting and to challenge the listener.
The key changes are usually just done by choosing what sounds the best to our ears -usually after vivid discussions!
