Darkside is essentially Sora's shadow — the dark reflection of the hero himself.
That is why the encounter keeps resurfacing. It bookends the opening and then returns at the story's bigger turning points, using the same figure to mark moments where the deeper plot shifts.