What advantage would there be for a person to get married just hours or even a few days prior to filing for bankruptsy??
NM is a community property state. That means each spouse owns 1/2 of both the assets and the liabilities of the community. It may be an attempt by the bankrupt to cause the other spouse to be liable for 1/2 the debts, but it won't work if the debts were incurred prior to the marriage and/or the other spouse did nothing to indicate assumption of those debts or any portion of them. If this came as a surprise, the marriage is probably not destined to be long-term.