Which takes precedence: the 'aqīqah or the uḍḥiyyah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The 'aqīqah is an act of worship through which a servant draws closer to Allah the Almighty in gratitude for the blessing of a newborn child. It is a confirmed Sunnah for those who are financially capable, and Allah does not burden any soul beyond what it can bear.
However, the uḍḥiyyah takes precedence, as it is a confirmed Sunnah established from the Prophet ﷺ through stronger and more numerous narrations — indeed, the Ḥanafī scholars hold it to be obligatory. Furthermore, its time is narrow and limited, expiring with the passing of the days of Eid, whereas the 'aqīqah may be delayed until one becomes financially capable of performing it.
And Allah Almighty knows best.
Is it permissible for one to give the Zakah (obligatory charity) to his indebted brother?
It is permissible for one to give the Zakah to his brother if he was indebted, or poor.
Is the father a Mahram (Non-marriageable) to his son`s mother-in-law?
The father is a non-Mahram (Marriageable) to his son`s mother-in-law, so it is impermissible for them to look at each other, or to have a seclusion (Khalwah).
What is the wisdom behind legislating the Udhiyah?
The Muslim must know that through the Uḍḥiyah, he complies with the command of Allah, the Exalted, and performs a worship that brings him closer to Allah and distances him from the Fire.
The Uḍḥiyah holds profound wisdoms and noble meanings, including:
1-Reviving the Sunnah of Abraham, peace be upon him: He complied with Allah's command when He ordered him to slaughter his son Ishmael. Abraham, peace be upon him, succeeded in the test, and when he was about to slaughter his son, Allah sent down a ram to ransom Ishmael and commanded him to slaughter it instead. Allah, the Exalted, says {what means]: "And when he reached with him [the age of] exertion, he said, 'O my son, indeed I have seen in a dream that I [must] sacrifice you, so see what you think.' He said, 'O my father, do as you are commanded. You will find me, if Allah wills, of the steadfast.' And when they had both submitted and he put him down upon his forehead, We called to him, 'O Abraham, You have fulfilled the vision.' Indeed, We thus reward the doers of good. Indeed, this was the clear trial. And We ransomed him with a great sacrifice." [Al-Ṣāffāt/102-107]. Thus, the sacrificial offering became an enduring Sunnah until the Day of Judgment, and Muslims offer their wealth as sacrifices, drawing closer to Allah, the Exalted, reviving this great Sunnah.
2-Providing abundance for people on Eid day and the Days of Tashrīq: Among the wisdoms of the Uḍḥiyah is that the Muslim provides generously for his family, neighbors, relatives, and the poor during these days. The Muslim is encouraged to eat from his sacrifice, give charity from it to the poor, and gift from it to his wealthy neighbors. Thus, goodness spreads throughout the entire community. The Prophet, peace and blessings be upon him, said: "The Days of Tashrīq are days of eating and drinking." (Narrated by Muslim). Allah, the Exalted, says {what means}: "And the camels and cattle We have appointed for you as among the symbols of Allah; for you therein is good." [Al-Ḥajj/36]. This good includes the good of both this world and the Hereafter.