First of all that was not random, second of all, Stevens was not killed by a gun.
We have a power vacuum right now in Libya, the government is not in complete control, weapons with all their kinds are everywhere. If this situation happened in another country, there would be much more chaos...