It appears the the Pit scene with Rey may not have been intended to have some big meaning but rather just look cool.
https://io9.gizmodo.com/rian-johnson-gives-his-interpretation-of-reys-enigmatic-1822694943
Um… did you read that article?
Um…yes.
The story served the scene, not the scene served the story. From his telling of it, he wrote the story around being able to include this imagery and doesn’t have a concrete idea of what it means.