They are a granted monopoly, you pay the filing fee whether it is accepted or not hence the gov't has no liability. Look at making gold illegal for examples of how the gov't can drastically devalue your assets with no recourse.
Also, keep in mind that lawyers tend to be much more politically connected than programmers.