They are not both A. We are trying to use the premise that If a then d to prove the conclusion that if A then C.
If we know that all As are D, and all Ds are C, that proves that all As are C. We would link it as A then D then C.
We are unable to do this with if C then D. If we know that all As are D, and that all Cs are d, we can't link a and C together, other than by knowing that if something is not D then it is neither a nor c.