>>3131165People tend to not like living in small, unpopulated, extremely cold, or extremely hot places.
Most of Canada is small, unpopulated, extremely cold, or extremely hot.
People who like being around other people could tolerate all the weather because if they lived in a populated city, it wouldn't matter because they could just drive three kilometers to the grocery store instead of twenty.
Most cities are near the border because people don't want to go out and create new metropolises.