Not everyone wants to deal with maintaining Python and untold dependencies on their web server. A C++ binary often has no additional dependencies, and even if it does they’ll be dealt with by the OS package manager.
I think uv[1] basically solved this problem for python scripts. Go creates statically linked executables that are easy to deploy.