It's a terrible, thoughtless quote. Emphasis on thoughtless, because I don't think McCain has given even a moment of thought to the subtleties of talking about this. The second half of the quote is a non sequitur. Adoption is necessarily a context in which "both parents" are unavailable, so it makes no sense to cite the superiority of biological parents as a reason to prohibit adoption by gay individuals or same-sex couples.
Nadia Lopez didn't think anybody cared about her middle school. Then Humans of New York told her story to the Internet—and everything changed.