Hold B on the Xbox 360, or Square on the PlayStation 3.
Throwing sand is one of Ezio's small but genuinely useful tools: it blinds a guard for a moment, which is enough to slip past him, start a fight on your terms, or break a hold if you have been grabbed. Hold rather than tap, and you get the improvised version rather than a combat move.
On PC the equivalent is the sand throw bound to the same contextual action key, which you can check in the controls menu.