The difference is thus:
In the first case, it sounds like your spouse was a 'co-borrower'. So she's not on title, but she is a co-borrower because she is your spouse. No additional paperwork needed.
In the second case, your spouse was probably put down as a 'guarantor' which triggers more legal...