I’m assuming that Gluttony ate his memories, and knows he returns by death.
Rem said: “Better luck next time”
I’m also assuming Gluttony can shapeshift like Lust…
I believe it was not Rem, but Gluttony, also not Meili.
And also, that Subaru lost his memories because Gluttony ate them, thus knowing about return by death