Most game bans happen because of aimbot use. Anti-cheat systems can analyze mouse movements and changes in aiming behavior, making unnatural changes in accuracy more likely to be flagged.
The supplied guidance highly recommends ESP-only use where possible.
ESP provides visual information without directly interacting with mouse or aim mechanics. According to the supplied guidance, this results in fewer aim-related behavioral signals for anti-cheat systems to analyze.
Synthera Docs