Obstructions cranial to the common bile duct and pancreatic papillae lead to vomiting of gastric contents, namely hydrochloric acid, and a hypochloremic metabolic alkalosis.