end-of-life care decisions

We have seen friends reduced to human vegetables being carted off for more chemotherapy. Why?