The trigger for this is: hitting 50 souls for the first time in an infinity opens Abyss D. Getting the 51st soul closes it. Getting 50 souls again after a rebirth does not retrigger this.