What needs to happen is regulation. Pro-consumer governing bodies (which don’t exist in the US, but the EU has been on a roll) mandating the right to transfer a digital license.
As for the stores, Xbox offers GameStop a small percentage of the revenue from every digital game purchased on a console sold by GameStop. That feels like a healthy compromise for an all-digital business model.