Frankly, people get ahead in CS by writing papers. Many people who are successful in academic CS aren’t that interested in writing programs or even that good at it.
Video games require interdisciplinary talent. The credits for a video game look like the credits for a movie because it takes 2-d and 3-d artists, character designers, writers, musicians, sound effect specialists, voice talent, and various specialized programmers.
Sure there is the occasional legendary developer who makes something like Touhou on their own but that’s deeply unusual. If a person is dedicated to success on the CS track they might not find it helps them get a postdoc or faculty position or tenure.