The striking contrast here is between two different chapters of Death Valley's geologic history.
The lighter badlands belong to the Furnace Creek Formation, made up largely of sediment deposited in ancient lakes and basins roughly 3–5 million years ago. Over time, erosion carved these relatively soft rocks into the intricate ridges and gullies visible today.
Beyond them rise the darker, more resistant rocks of the older Artist Drive Formation, a complex sequence of volcanic flows, ash deposits, and sedimentary rocks formed during an earlier period of volcanic activity.
Millions of years of tectonic deformation, uplift, and erosion have brought these contrasting formations into the same remarkable landscape.
EDIT to add: the line you can trace where the light rock meets the dark rock is a direct contact zone - you can put one foot on each side and be spanning millions of years of temporal separation.