Unless it was written by a contractor who then gave the copyright to the IRS. This is a very common situation. The federal government is not barred from having copyrights.
It really isn't - the point is freedom access, not free use. Information acquired this way doesn't magically become public domain, it may (or may not) have other constraints on it.