They both present compelling evidence and can be thus classified as science. Darwin spent a couple decades accumulating evidence before he wrote the book.
Also, majority of non-fiction textbook are about psychology, economy, sociology, history etc. which are vastly more intractable than biology and physics.
Also, majority of non-fiction textbook are about psychology, economy, sociology, history etc. which are vastly more intractable than biology and physics.