The US required that Canada buy the F-35 to be able to fit the communications equipment needed for NORAD.
I think the Eurofighter would have been a better fit for Canada. It is already built on multiple production lines, no problem adding another one in Canada for their aircraft.