Wuthering Heights was a remake, and Hail Mary was also a safeish bet since it's a novel by the same guy as The Martian.
Not to say that it isn't an improvement, but we're still pretty far from seeing American cinema catching up to the world stage in originality, let alone to the golden Hollywood era.
I remember reading Project Hail Mary years before the movie was announced, and thinking "this is written, if not exactly as a screenplay, in such a way to make it SO easy to adapt to a screenplay that given this is from the Martian author there is no way this will not be made as a movie"
Yeah a lot of authors nowadays just write screenplay, either thinking on licensing or just by being influenced by tv. Sanderson and Abercrombie come to mind as other authors that basically have action scenes and movie cuts baked into the books.
At least Hail Mary was an original IP with no built-in sequel opportunity. These days, I'd be happy if more major studio, big budget releases were adapted from original IP books.
Sadly, I heard that the studio is apparently trying to figure out how to make a Hail Mary sequel (sigh).