Using spaces in a shebang is not a standard thing and doesn’t work in most shells.
$ env "-S echo hello world"
hello world
https://www.gnu.org/software/coreutils/manual/html_node/env-... If the first line of a file of shell commands starts with the characters "#!", the results are unspecified.
So it's basically all down to convention, but one that's been followed long enough that you can rely on it. I still don't count on shebang taking more than one argument to the command though.