Well imagine you write a book in your 20s or 30s and it only becomes popular after a couple of decades. The publisher gets to pocket all the money.
Somebody decides to make a movie based on your book? You get nothing at all from it... The movie bit would be problematic even for books that were reasonably popular at the time. e.g the Witcher adaption came out almost exactly 20 years after the last book, for GOT it wasn't that far from being the case as well (at least for the initial volumes). Studios would be incentivized just to wait a couple of years to avoid paying anything.
I think it could be reasonably to have a fixed limit if the rights are held by corporations, though.
This is an edge case. The vast majority of intellectual output loses value extremely fast. If a new Kafka comes along and their writing becomes popular 30 years after publication, they will have 0 issues getting a fat contract for a new book.
Justifications for copyright are always built on edge cases, seemingly moral justifications of an empirically immoral practice. Yes, it'd be nice if a single handicapped mother of 2 coild see her children rise out of poverty thanks to her writing talent after 50 years. In practice, this person doesn't exist and building society around that scenario is not a good thing.
These 'what ifs' have the same value and do the same damage as 'who will think of the children' do for human rights.