Contrasting forms of competition set elevational range limits of species.