Because men are fallible and judge erroneously.
This doesn't mean that scripture itself is fallible.
Who wrote the bible?