I do end-of-life care and it's hard sometimes, but when you're going into a situation where you know your patient (in my case, client, as I'm non-medical) is actively dying, you start out compartmentalized.
The patients usually aren't problematic; the family is. When someone goes home to die, they know what they're doing and why, and have come to a certain peace with their decision. The care team is used to seeing people at their most vulnerable, in terrible states, and have the knowledge and experience to change tactics when need be. So if Aunt Mable starts to have a hard time swallowing, we don't yell at them to try harder, we just use thickener. We don't force people to eat, even if it's her favorite, and "she's always eaten it before no problem, just shove it in her mouth! No, you gotta make her chew. Then massage her throat so she swallows." (Yes, this happened to me, and no, I did not fucking do that).
I like doing end-of-life for a few reasons. For one, it's really low-pressure. Client's not up to doing XYZ today? Fuck it, then, we won't, let's do something else. Doesn't matter.
For two, helping someone have a dignified, pain-free death is the last "gift" you can give them.