A spouse is normally drawn in a box of their own beside their partner:

A spouse can instead be folded into their partner’s box, where they take up a line of text rather than a box and a marriage line of their own. Any children of the marriage then hang from the partner:

Spouses are never folded unless you ask for it, so a chart shows every spouse in their own box until you decide otherwise.
In editing mode, select the descendant (the person linked to parents above, not the spouse) and press the Fold spouse into this person button on the toolbar above their entry. The button stays pressed while the fold is on; press it again to unfold. The same setting is a ticked row on the person’s menu, and on the Person tab of the Chart Properties panel.
Where a person has more than one spouse, the setting folds all of them.

The button is greyed for a spouse, for someone with no spouse, and on an ancestor chart, since there is nothing there to fold.