(Spoilers for anyone who hasn't played yet)
Futuristic world where you can make robots of people, Ash (trans guy), seeing his mom try to forget about him and live with her expectations of him (before transitioning) was something that he couldn't handle so he destroyed the version of him he wanted to forget about and the person who wanted to forget about him
The second part of the story about the detective is a little hard to get but from what I understand, she did the same thing as Ash's mom, only in this case I assume it was the other way around with Maria not accepting that her kid is a trans girl, that even after they died due to illness she just made a version of them that lined up with her expectations not who they really were, and as opposed to Ash's mom, she couldn't handle living with such a thing like that after understanding the gravity of the situation after the talk with Ash (that's my interpretation of all of this anyway)