It happens because when you start a program from a shortcut on the PC, the program is informed that it is started from the directory of the shortcut instead of the directory where the executable is located.
This means that if your game needs to load some files, it will look for them in the directory where the shortcut is located. This is often not what you want, and if you fail to change the game directory to the real one, it is likely to result in a crash.
This means that if your game needs to load some files, it will look for them in the directory where the shortcut is located. This is often not what you want, and if you fail to change the game directory to the real one, it is likely to result in a crash.