...since some code could be legally unfeasible.
John Carmack announced at QuakeCon 2011 that the source code for Doom 3 would be released to the public as open source after the release of RAGE. However, some of the source code will probably be rewritten to avoid some legal hassles with Creative Labs.