I'm trying to recall a story I read as a child, probably in the late 1980s, though it may well have been written before that. I think it was a short story in an anthology, but I don't remember anything about the book it was in.
The plot, as far as I remember, is that a person (probably male) is seeing a counsellor or therapist of some kind, who I'm fairly sure is a robot. The person has been on a space mission that resulted in some other people falling into a black hole while this person escaped, perhaps in an escape pod, and they're trying to deal with the trauma.
I remember specifically a scene at the end where the person leaves the therapist's office but then re-enters, finding the room partially reconfigured to match the next client's psychology. The story concludes with the person realising or stating that because of relativistic effects, the people who fell into the black hole are not dead but frozen in time, forever living out the last moments of their lives.