Why ? for recent transaction, they need to keep it for tax purposes but they have no legal need to keep old records.
I wouldn't call 10 years "recent transactions". Heck, for most of the online shops, it's more like "forever".
The GDPR/CCPA/etc. likely has different requirements here, and probably requires deletion after they're no longer needed (for tax purposes or whatever).
But I personally have financial records going back decades, so I can't fault a company for wanting to do the same thing.
[0] https://ec.europa.eu/info/law/law-topic/data-protection/refo...
They could unlink it from your purchase history, but they would still have to maintain the record of the purchase. I believe this is effectively what 'Archiving' order does.