Ex-wife's credit jeopardized by divorce

Why can woman's name be removed from title but not mortgage?