Why do some programs not run because the disk is not in the disk drive?

If a program's executable file or setup / install files are not saved to the harddrive, no, the program will not run without the disk in the disk drive.