Question about non-painting services for licensed painting contractors in CA

This is about licensing in California. I noticed on buildzoom, the licensed contractors who only are licensed for painting seem to offer other services like carpentry and stucco patching, wouldn’t these require a General Contractor license or can they perform these legally?

A painter with a C-33 painting license only can only preform painting jobs.
CSLB requires to have a general (B) License for any other job.