Not sure why you think this is surprising and/or wrong. Ukrainians are Europeans, they look the same, have similar institution, a compatible culture, etc... It's not hypocritical to feel the need to help your neighbor, and not everyone on the globe.
In other words, if there were US refugees, Canada would most likely accept millions of them because at the end the day we "know" and interact with them a lot.