The two species of snakes, the Emerald Tree Boa and the Boa Constrictor, belong to the same genus; however, the former is tree dwelling and needs high humidity whereas the latter is terrestrial and requires a dry environment. What kind of the evolutionary mechanism was responsible for this?