The iOS/OSX source code is proprietary to Apple. You wouldn't be able to see it unless you worked at Apple and had proper access.
Because like any program it is already compiled and they only have the executable to run. In its current state it is a bunch of machine code. They would have to reverse engineer it which is basically impossible across an entire operating system.
Large parts of OSX userspace (Frameworks, daemons and pretty much all the system applications) and some of the kernel are closed source. Almost all of iOS is closed.
It's the difference between open source and closed source. Closed source programs, like osx and windows only release their compiled versions.