this usually indicates that some process on your system is using a lot of CPU (check via activity monitor)
In case you are using the experimental Dropbox / iCloud sync in BTT, try to disable that.
In some rare cases it can also be caused by conflicts with other mouse / keyboard related apps like Karabiner Elements