Mechanisms of Regulatory Adaptation in the Evolving Genome