The biggest factor is parts of the Mojave are below sea level. And the Sierra Nevada mountains block rain and moisture from the Pacific from reaching the basin. This combination lets summer temperatures reach well into the triple digits.