Part of it is logistics. Crude can be shipped in a single pipeline, but the refined products need to be transported separately.
I thought the Oakville refineries were all closed. I don’t think gasoline sold in Alberta comes from Ontario rather from refineries , Petro Can and Shell in Alberta and from BC.