It isn't to stop you from taking advantage of a tax loss, just to stop you from taking one on maybe December 27th and rebuying on January 2nd to claim your tax loss ahead of time when you want to still hold the position. The 30 days makes you be a bit more committed to the sell as in that time the price could change a lot.