There is a "joke" program called something like Crazy Mouse that causes behaviour like you are describing.
I can't understand the warped minds of people who inflict these things on others but it may well be this.
Have a look in Google about it.
Samsung Galaxy S9 review
Adobe price increase confuses customers
What to expect at Apple's 27 March education event
Comment filmer l’écran d’un iPhone ?