If you were a member of Mileage Plus (UA's program), you would have earned 100% miles on both flights, but because AC doesn't want people to fly other airlines for 100% miles rather than AC Tango for 50%, they convinced UA to only offer people 50% when crediting to Aeroplan.