Answer:
Simply because most( 90%) keratnocytes (superficial keratinocytes) are keratinalized, without nucleus. They are mostly dead cells with cytoplasm made up of mostly keratin ;which is more protein than cells.
Melanin is produced by melanocytes but Keratinocytes lacks melanocytes.
Thus Keratinocyte with no nucleus, with dead cells,with cytoplasm of keratin, and most importantly with no melanin secreting cells of melanocytes can not produce melanin.
Step-by-step explanation: