Cursor position update is performed at very low priority in the background. When very little background "spare time" is available, the cursor can seem to freeze.
this is not the same as when your Mac is so busy doing foreground tasks that results will be delayed, which produces a "wait" cursor, often a spinning colorful wheel.
By far the easiest way to cause poor performance, instability, overheating and crashing is to install ANY third-party speeder-uppers, Cleaners, Optimizers, Third-party Virus scanners, Bit Torrent, or a VPN that you installed yourself. They are relentless in scanning your files, non-stop, looking for virus-like patterns in Everything, or looking for files that have changed. When completed, they do it all again.
¿Are you running anything like that?