I think the brain likes forming connections between things and has a tendency to feel they've experienced something similar or even the same before. Perhaps also because memory is not perfect we sometimes feel we are rediscovering a past memory even if it never actually happened.