D. The genes expressed within the cells
The development of unspecialized cells into specific cell types is primarily controlled by the genes that are expressed within those cells. This process is influenced by various internal and external factors, but ultimately it is the genetic information that directs the specialization and differentiation of cells.