Because both do not export any vaccine. And the EU does. So even Canada cannot get vaccines from the US and gets it from the EU which exported about half its production outside the EU. Some even went to the US.
Partnering with Pfizer was done because the BioNtech CEO knew people at Pfizer from before. If they would’ve chosen e.g. Bayer (which is what CureVac did) the story of would’ve been different.