When Apple launched the iphone, they probably wanted to stick with a GSM carrier for the international market. After all, there is a world market outside the US.
The only GSM choices are ATT or Tmobile, and at that time Tmobile was not in good shape.