E.g. From Minecraft or Brawl stars
Actually a simple answer:
Because it is fun. If you have any kind of stress or are bored, you can just dive into the world and have fun.
Regular consumption of games (in other cases coffee, drugs or other things) can lead to psychological dependence.
You escape from everyday stress, problems or other things and often don't realize how deep you are in this addiction.
Either it's fun or some people play it for their friends.