You have not said what you are using to drive your laser and the picture you show is covering the console window. I have not heard of the “cowboy21” laser before. Please update this, we provide this in your forum profile so we don’t have to ask each time you post.
You likely don’t have laser mode enabled in GRBL ($32=1), which would make the spindle PWM output ramp slowly instead of instantly, among other things. The spindle PWM output is used to set the laser power. This might be a helpful read (assuming you are running grbl): Common GRBL/GCode Setups - LightBurn Software Documentation