What I mean is, how come the military of any country weaponize and test new kit or technologies first before civilian use?

An example of this was when the Internet came about and TCP, Apparently these technological inventions were being stewed for use by the U.S. military before they allowed it to be opened to the public.

Yeah I get it, military complex want loads of profit, but you’d think some five or 6 star general would go “Yeah nah we don’t need this shit, waste of tax money just stick with what works”

I might come off as being naive here but I genuinely wonder why all the new bleeding tech time it gets introduced and patented for concept, the army dudes wanna see if it can cause damage to the enemy first in any way.