This will vary greatly from one jurisdiction to another. It can also depend on the specific kind of marriage.

Yes, some marriages are "community of property", some are not. Even in community of property though some debts may be on the individual not the couple.

So one cannot really talk in generalities regarding this.