Why is al-afḍali genitive with kasrah?

Ism al-Tafḍīl: Formation, Comparison, Agreement and Parsing