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.