Did you loan them money or give them cash outright?

While we all hope that marriage is forever, if they split the ex would walk away with half the cash of a gift, while loaned money would revert to you when the marital assets and debts are split.