The wash trade rule is to prevent people from taking a loss at the last day of the tax year to offset gains in other securities. Then re-buying it on the first day of the next tax year to "reset" the cost basis. In short, it's to prevent tax evasion shenanigans. Tax law is complex because people will spend a lot of effort to find loopholes. Closing these loopholes one after another creates the complexity.