Forking the code doesn't fork the copyright ownership. Stockfish still owns the code under their copyright regardless of whether it lives in their repository or in some fork of their codebase.
A forked project doesn't have the right to grant people licenses to code which they don't own.