Is there a connection between homosexuality and anal sex, where if you are gay you are predisposed to it? Or is it a "second best" option that allows two men to experience intimacy, and thus is welcomed?
Similarly to what rearden said, no, there is no direct connection. Some people like some things, others are disgusted by those things. It's the same as everything else; what is it about women that is attractive to a straight man? It depends on the man.
For an unrelated comparison, do you prefer Coke or Pepsi? Personally I don't drink much cola, but when I do, it's RC