Several reasons came together, and the character's popularity was only part of it.
Sega ran a poll asking which Sonic character deserved a spin-off, and Shadow won it. Creatively, Yuji Naka had an interest in pulling Shadow out of Sonic's shadow — literally — so the two would stop being measured against each other and Shadow could be developed as a character in his own right rather than another brooding anti-Sonic, a role Metal Sonic had already occupied for years.
The decisive factor was story. Shadow arrived with a backstory built over two console appearances and then lost his memory, which left a mystery wide open. Sega built the game on that question, and the result is the divisive shooter-adventure that exists today.