The company makes money off of using this as a candidate screening tool in lieu of in-person engineer hours.
I think it is better for everyone this way. It is more accurate, it is less pressure and less demanding on the candidate, and it doesn't require an engineer sitting there asking intro-CS questions to a stranger instead of working.