Usually because it's easier than getting good, and ruining other people's matches gives a certain kind of player a sense of control they can't earn legitimately.
There are other motives — money through stolen items and accounts, curiosity about how a game works, or simple boredom — but the common thread is that cheating comes at someone else's expense. That's why developers keep investing in anti-cheat.