The U.S. neighbors’ main stock indices are outperforming the S&P 500 this year thanks to a unique set of factors.