A "story" is an account of events, be they imaginary or real. Those events can be recorded in writing, or merely told through speech. When that happens, you are "telling a story".
The meaning of "there's a story there" is that based on whatever it is that "there" represents, one could write, or tell, a story.