AQ in Libya is thought to have attacked that particular facility because some of the weapons were being stored there and they wanted to get their hands on them (and probably did).
They spent hours looting the place.
Let’s pray that no loose chemical weapons were being stored there.