The descendant (is killed) in retaliation for the ascendant, but the ascendant is not (killed) in retaliation for the descendant.
By the ascendant (asl) is meant the parents, and by the descendant (far’) the children. Killing a child in retaliation for the father is established by the general scope of the texts on retaliation, but the father is not killed in retaliation for the child because the hadith has made a specific exception for this, as narrated from Umar (may Allah be pleased with him) that the Messenger of Allah ﷺ said:
لا يقاد الوالد بالولد
“The father is not to be retaliated against for the child.”
[صحيح: صحيح ترمذي: 1129 – 1130 ، كتاب الديات: باب ماجآء فى الرجل يقتل ابنه يقاد منه أم ، صحيح ابن ماجة: 2662 ، 2599 ، ترمذي: 1400 ، احمد: 16/1 ، ابن ماجة: 888/2 ، بيهقي: 38/8]
(Shafi’i, may Allah have mercy on him) I met most of the scholars (and they say this very thing) that the father is not killed in retaliation for the child.
(The majority, the Hanafis, Ahmad, may Allah have mercy on him) hold the same view (because the father is the cause of the child’s existence, so the child cannot become the cause of the father’s end).
[سبل السلام: 1577/3 ، تحفة الأحوذى: 752/4 ، الأم: 195/4 ، السيل الجرار: 390/4 ، السنن الكبرى للبيهقى: 38/8]