Because the Canadian government does not allow non Canadians to possess handguns OR to travel through Canada with handguns..
It's thier country and they make the rules..
If you want to take handguns to Alaska, you'll either have to fly OVER Canada, or ship your handguns up and pick them up when you get there..