I’m amazed locally that most building trades jobs are now filled by illegal aliens. I suspect electrical and plumbing are not but have not checked that closely.
I suspect you are correct. Plumbers and electricians are supposed to be licensed by the state; roofers, framers, drywallers, etc. don't need a license.
Of course, if they can now get a driver's license, then why not a plumber's license?