Earlier quoted context omitted.
With online distribution games can be made unavailable for purchase. You are not distributing it anymore. Only people that previously purchased can still download the game. There are multiple such cases in stores such as Steam or GoG. I own games that are not available for purchase anymore. Those games were not killed. I can still download and play them.
Offering the game for download but not sale is still distributing it and you’d still need licenses for all the content you’re distributing. In the cases you mention the games still hold the licenses which is common but not universal.
Looks like the possibility of regulations will fix that. That in the Year of our Lord 2025, when online channels are many times the only possibility of purchasing a game, licensing agreements do not cover that, it seems that proper regulation is very much necessary.