The nice thing about temp files is that the OS will eventually remove them, even if you don't
with UNIX/POSIX systems it pays to say "it depends" often.
There's this idea that macOS is "based on BSD", but that's not really the case in any meaningful way; it took some components, but the system overall isn't really "based on it" as such.
That said, it makes sense that at least some distros would leave a job in place to do so but initially disabled so that the user can decide based on the use-case