I think the root of the problem exists in the simple fact that tax laws are different in various states/countries. Accountants/lawyers are paid to figure them out, and rewarded well when they find benefits to the myriad of rules and regs. I was even employed once to optimize a large corporation with 100s of entities in different taxing regions. I enjoyed the work, but it was evil (only looking back in retrospect of course).