I suspect that there is “palm check” turned on for your touchpad. This is designed to keep you from accidentally moving/clicking the touchpad by brushing it with your palm while you are typing.
Look for a “palm check”, “palm rejection”, or “disable touchpad when typing” setting in your touchpad utility. As far as I know, these are all roughly the same thing.
From the article: