You didn't lose control
When you dispose your property, it is a tax event. Selling to yourself is not disposition, therefore it is not a tax event.
Why? IRS defines disposition as loss of control. see https://www.irs.gov/publications/p544
Anyway, common sense.