Hello and welcome! My name is ***** ***** I will try my level best to help with your situation or get you to someone who can.
If someone advanced money to the estate to pay for funeral expenses, then they have the right to recover that money from the deceased's estate unless there is some other type of agreement in place for someone else to pay.
But if there is no money in the estate to reimburse the person for the money, then they can't hold the surviving spouse liable for those costs unless they agreed in writing to repay them because only the deceased's estate is liable for the estate debts.
But even if the spouse did agree to repay, social security is not able to be garnished in a legal action under federal law.