Unlike the grief and mourning that happen after someone has passed away, this "anticipatory grief" begins before the person has died. But the emotions can be similar.
When someone has a disease, injury, or condition that permanently changes their personality, like Alzheimer's, the grief may come as it sinks in that your loved one, as you knew them, will be "gone" even before they're gone