It is all Hallows Eve, and Stephen is telling some ghost stories to the other engines. He tells the tale of a steam engine, scorned by its builder, left to rust, and plotting its revenge...
You can find more information on the Real "Fowler's Ghost" here: http://www.dself.dsl.pipex.com/MUSEUM/LOCOLOCO/fowler/fowler.htm