I really wouldn't be surprised if this really was the primary reason for firing a security engineer. A person who carelessly compromises sensitive information is someone you want as far away as possible from having access to your security systems, not to mention building them.