Why don't they trust the universities?
If the candidate has a degree in computer science shouldn't he be able to code ?
Universities are not trade schools, they are often focused on education for the sake of pursuing knowledge, not how to train you for everything you need in your career.
Computer science is not software engineering; think of the difference between physics and mechanical engineering.
A lot of computer science classes are highly theoretical and have only tangential relationship to what it takes to write a commercially successful program.
BTW: This is the similar for doctors, in the US, your doctor has to get a license in addition to a degree, and the license requires self-study in topics that aren't covered in medical school.