What is the distinction between withholding assets and invalidating a transaction?

Kitab al-Hajr: Improvidence, Legal Restriction, and the Age of 25