On the origin of the different velocity peaks of particles sputtered from surfaces by laser pulses or charged-particle beams