You are accidentally brushing the touchpad with your thumb or palm, the part of the laptop that allows you to move the mouse by brushing it with your fingers. It's very irritating, which is why I sometimes install a program to turn it off when typing.