Why is «يُكْتَبُ» indicative/nominative in its own inflection?

Mafʿūl Mā Lam Yusamma Fāʿiluhu — The Passive Subject