No one knows for sure. One theory is since this is a very simple pie recipe that originated in the South, it could be that someone called it "just pie" when asked about it and the listener heard "chess pie" due to the speaker's Southern accent.