The tax code is complex because people do not want to pay tax, and so anything that is ambiguous or underspecified becomes a loophole, the closing of which generally adds complexity to the code.
There exist countries with simple tax code, inhabited by people who do not want to pay tax. Therefore any valid explanation why US has a comparatively complex tax code must cite something specific about the US. A generic reference to human nature explains nothing.