I think the answer lies with Rey’s “Be with me” chant. It seems like Rey tried to connect with the Force on a deeper level than Luke could in the OT, in order to commune with past Jedi she had never even met. Perhaps this connection she is trying to establish can allow for spirits to interfere with the material world, with Rey acting as a conduit.
Yep, that’s pretty much how I’m interpreting it.