Why do A and T (and G and C) pair in a DNA double helix?

Covalent bonds form between them.

Van der Waals forces are thus maximized.

Ionic interactions are thus maximized.

Hydrogen bonds form between them.