Looks like it was done with a laser engraver but the settings (power/speed/focus) weren’t set right for the material. Depending on the material, changes in setting is required. Even different woods require setting settings to be dialed in. Plastics can burn very quickly if you don’t dial in the settings. It’s like setting up a welder depending on the metal and thickness.