And the priest shall set the woman before YHVH and unbind the hair of the woman's head and place in her hands the grain offering of remembrance, which is the grain offering of jealousy....
Numbers 5:18
The removal of the woman's headcovering represents the removal of her husband's authority and protection. He can't be both her protector and accuser. God, then, becomes her only judge and advocate. It's hard to imagine that the Sotah trial of Numbers 5 (the woman accused of adultery) could improve anyone's marriage.