Why some species adapt to climate change and other not