C and T are pyrimidines (1 ring)
A and G are purines (2 rings)
You need to always have a pyrimidine bond with a purine to keep the double helix a uniform width.
If you're asking why not AC and TG, I don't know, but the good news is that you don't have to know either!