The CBP app is no longer being used, that doesn't mean that anyone who entered using it is suddenly classified as being here illegally.
Also, whatever Trump tried putting in place through an EO was blocked by the courts and is not in effect.
https://www.fmcsa.dot.gov/registration/commercial-drivers-license/may-foreign-driver-employment-authorization-document-obtain
He was issued a CDL because it was legal to do so and because he passed the required testing. This narrative you seem to want to push that they're just handing out CDL's to anyone who wants one is just dumb.