Aren’t there any textbooks written by someone more professional than Masoff? Why isn’t the publisher and school looking for a professional?
...and why isn’t someone doing at least a cursory fact check?
The answer to both of your questions is money. It’s cheaper to hire a hack author and to skimp a bit on fact checking. And with schools hurting as bad as they are I’d expect more of this kind of crap.