Bombardier was not really a sure bet and maybe Canada didn't want to risk tax payer's money? Just because Airbus succeeded with A220 doesn't mean Bombardier would have done the same.
It already had more orders than required to break even. Development on the aircraft was also completed (and it was FAA/EASA certified) when Airbus took over.