Portability is the usual reason, but even if you only emit for x86-64 and AArch64 you still take on register allocation, two ABIs, and marking pages executable. A stack interpreter skips that and stays one binary. Native code pays off once you cache the object file; for a short script the compile is often slower than just running the bytecode.