When wet, sugar becomes sticky due to a chemical process called hydrogen bonding. This means that the hydrogen in sugar bonds with the hydrogen in water, leading to a sticky, sugary solution.