Someone is very
frightened. Drugs are often reffered to as "gear" and drug mules commonly swallow condoms containing drugs to get them through
airport security. Some drug mules
get scared and they poop out the drugs before passing through border control, thus the term "shit the gear" was born.