I mean I was sitting in the theatre and when the emperor’s theme started playing over an image of Rey I literally freaked out at how similar they were. Being a music composition minor in my undergrad, this similarity might not have been planned from TFA but Williams clearly pushes the similarities for this film
Rey and Ben’s theme’s having commonalities was clearly intentional. Ben and Palpatine commonalities are there and probably not an accident. But to suggest that Rey and Palpatine’s theme’s are intentionally related because they both use a minor 3rd interval a few times is really a stretch.