Yeah, its about features and construction.
The recoil and banging around a weapon light might have to be able to deal with, plus the typical need to mount a remote to it...change what a light might look like.
A large issue is the cell chamber, as with some, the slamming of the recoil can get the battery rocking back and forth like a jackhammer...which can break the cell or what its whacking into over and over again...or just make the light go on/off as the cell loses contact at one end or the other...etc.
Most weapon lights come on at their highest output...as a default. A lot of people demand that of a tactical light, and, a lot of people absolutely HATE if a light can't come on in moonlight/low so as to avoid blinding them when they want to find the loo on a camping trip/find dropped keys at the theatre, etc....but not for a weapon light.
You typically want a weapon light to be able to go off quickly, to prevent return fire attraction, etc....so you can pop and move, etc...and not accidentally reveal where you ducked to in an emergency maneuver, etc. That can mean a momentary action, so if you let go, it goes off for example.
The thread overlaps and types can be an issue. In testing, some lights literally were shaken apart by recoil, especially on pump guns (Machine gun lights are in another category as well...), because the overlap of the threads was so small or course, that the metal strip involved either broke or backed off, etc.
If the electronics are not potted/ruggedized, and the wires adequately sized and secured, the recoil can cause solder joints or wires to break, grounds to be lost, boards to crack or come loose, etc.
So, sure, they DO make black non-weapon lights and call them tactical/tacticool, etc...but, its what inside that counts.
An inexpensive example is an old Klarus XT11...comes with remote weapon light attachment, the barrel is a standard weapon mount size, the electronics are potted, the cell chamber is double sprung and the spring rates don't let the cell jackhammer or lose contact in rapid fire, you can throw it against the ground and it stays lit/keeps on ticking, etc. Its Chinese, but well made.
Some other Chinese lights literally fell apart at the firing ranges, and, well, that's essentially the difference.