The vomited material does not contain bile because the pyloric obstruction prevents entry of duodenal contents (containing bile) into the stomach.
This results in loss of gastric acid (hydrochloric acid). The chloride loss results in hypochloremia which impairs the kidney's ability to excrete bicarbonate. This is the significant factor that prevents correction of the alkalosis.