Because thanks to WSL the lingua franca of scripting languages is bash and that’s how pyenv started. Rewriting when it works fine on Windows and every dev I know uses WSL anyway is excess effort.
Hell, the fork could have used Go or whatever too but it went with a bunch of .bat scripts.