Ben was killed off because Guinness refused to do any sequels after Ep 4. All of the scenes that show Ben as a ghost in the later 2 movies were shot ahead of time (probably right after SW was released), which is why some of the shots are a little miscued.