My partner got a brain implant for chronic pain and it helps but they are different now like more distant and I miss who they were before even though I know they were suffering.
More people experience this than they realize.
You are mourning the loss of someone who is still alive, but fundamentally altered.
If this sounds familiar, the Library can help you find the bigger picture.