We're talking about US taxes right? The US tax code has lots of places where the complexity is purely happenstance. I think Vox did a piece recently about some of the silliness that's not some loophole helping a few tax payers it's just what happens when a sprawling tax code is appealing to special interests.