Good Morning!
The keratinization of a cell occurs due to the large production of the keratin protein. This protein is produced the closer the cell approaches the surface of the epidermis. Keratin breaks the nucleus of cells and kills cells, turning them into dead cells.
Hugs!