"If the fidyah becomes obligatory upon a pregnant or nursing woman because she broke her fast out of fear for her child, is it obligatory from her own wealth, or from her husband's wealth?"
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The fidyah (ransom/compensation payment for breaking the fast) is obligatory from the wife's own wealth, and is not obligatory upon the husband unless he voluntarily chooses to pay it on her behalf.
It is stated in Mughnī al-Muḥtāj (Vol.2/P.174): "If the two [the pregnant woman and the nursing mother] fear for the child alone — such as a pregnant woman fearing miscarriage, or a nursing mother fearing that her milk supply would decrease, thereby endangering the child — then both the qaḍā' (making up the missed fast) and the fidyah become obligatory upon them, to be paid from their own wealth." And Allah, the Exalted, knows best.
What is the ruling on swallowing phlegm while fasting?
If a fasting person intentionally swallows phlegm, their fast is invalid, as it is possible to avoid it.
However, if they swallow it unintentionally, their fast remains valid.
Phlegm is impure and should be avoided.
Is it permissible to purchase the Udhiyah on installments?
It is permissible to purchase the sacrificial animal (uḍḥiyyah) on installments or by borrowing its price. However, it is not recommended for the poor to do so, because they are not required to offer a sacrifice, and Allah does not burden a soul beyond its capacity. If doing so would lead to negligence in providing for one's dependents (nafaqah wājibah), then giving precedence to obligatory maintenance over borrowing to buy the sacrifice is appropriate. This is based on the saying of the Prophet (peace and blessings be upon him): "It is sufficient sin for a person to withhold food from those whom he is responsible to support."
Furthermore, the sacrifice is valid from one who has a debt, but it is preferable (awlā) to repay the debt first, especially if the debt is due immediately (ḥāll). And Allah Almighty knows best.
What is the ruling on the cessation of blood after (40) days from delivery, but later continued sporadically during two days of Ramadan?
Once postpartum bleeding (Nifas) ceases, and the woman is certain that it won`t reoccur, then she becomes ritually pure and so she is free to make Ghusl (purificatory bath), pray, and fast. If the bleeding reoccurs before fifteen days from its cessation, and before the end of (60) days after delivery, then the ruling on postpartum bleeding is effective, and her fasting and prayer are null and void, thus she must make up the fasting that she missed and not the prayer during those particular days.