It is not always possible to obtain a direct flight to Canada so you complete your landing at the first POE. If you are a PNP applicant you should be able to show at landing time onward travel to the province that nominated you else there is a possibly landing could be refused. If refused you would probably be allowed entry as a visitor.