https://www.resetera.com/threads/technician-accidentally-fir... here's someone claiming to be an F-16 weapons technician posting and -- they needed to do something stupid or the weight-on-wheels switch needed to malfunction.
Actually, the F-16 has a switch to override the 'weight on wheels' (WOW) safety for the weapons. It's used for doing checks and maintenance on the ground. Switch was probably flipped and it did what it was supposed to do. You can see the procedure here:
http://aviationandaccessories.tpub.com/TM-1-1510-224-10/css/...