The high population density in the Nile Valley is due to the presence of rich alluvial soil, which supports intensive agriculture and settlement.