in the old days there were special bereavement fares (which is a separate issue from changing an itinerary due to bereavement, I guess)
many years ago I had a lot of trouble getting a refund for a ticket I bought for a relative who died before they could use it. it made me really angry at the airline for several years after.