It has something to do with recoil force.
I don't know. Look through the weapon's datablock until you see something related to recoil.
%obj.setVelocity(VectorAdd(%obj.getVelocity(),VectorScale(%obj.client.player.getEyeVector(),"-1")));