What is the wisdom behind the legislation of fasting?
Fasting is a divine school from which the believer learns much and trains in virtues that may be needed in life. Among these virtues is patience, as it is the month of patience. Fasting also teaches honesty and consciousness of Allah in both private and public, for there is no observer over the fasting person in abstaining from lawful pleasures except Allah alone.
Fasting strengthens willpower, sharpens determination, and nurtures mercy and compassion among the servants of Allah. It is a struggle against the self, a restraint of desires, a purification of the soul, and a cultivation of goodness.
The Prophetﷺ said: "Allah, the Almighty, said: ‘Every deed of the son of Adam is for him, except for fasting; it is for Me, and I shall reward for it. Fasting is a shield. So when one of you is fasting on a day, let him not engage in obscene speech or raise his voice in anger. If someone insults him or fights him, let him say: I am a fasting person. By Him in whose hand is the soul of Muhammad, the breath of the fasting person is more pleasant to Allah than the fragrance of musk.’" [Bukhari and Muslim]
Is ablution invalidated when blood comes out of the nose, or a wound?
Blood coming out of the nose, or a wound does not invalidate ablution, but it is preferable to make ablution as a way out of the scholars disagreement in this regard.
What is the ruling on wiping over socks?
It is not permissible to wipe over most common socks today because the conditions for wiping are not met. The concession was reported for wiping over leather socks (khuff) and socks (jowrab) with conditions: They must be thick, not allowing poured water to penetrate, enable one to walk in them, be worn while in a state of purity (from ablution), cover the entire foot up to the ankles (meaning covering the protruding ankle bones), and not be torn. And Allah the Almighty knows best.
Is it a condition that a woman should untie her locks while making Ghusl (ritual bath)?
Ghusl from Janabah (ritual impurity), or menstruation obligates that water reaches the roots of the hair in order for the Ghusl to be valid, but if it doesn`t, then hair locks must be untied for water to reach them, and for Ghusl to become valid.