Trees in California's Sierra Nevada mountains, including giant sequoias, need sunlight, water and just the right kind of granite to grow, a new study finds.