This stark contrast is primarily due to the absence of an atmosphere, which on Earth serves as a buffer to regulate temperature variations.