Kristijonas: Thank you for your answers. My question is answered. Although, is it possible for ownership rights to change? For example one company makes and publishes the game and then someone else buys the name (and rights to sell it?) ?
Yep, it actually happens quite often. And the rights can also end up being split up between multiple companies, with one company having the copyright to the specific game, another company having the trademark rights to characters or names within the game, and another one holding the distribution rights, with none of them being involved in actually making the game. It can end up being an absolute mess at times.