>> there was no need to come out to the press about it
Sure there was. Here's Cook on why it was worth caming out to the press about it:
"So if hearing that the CEO of Apple is gay can help someone struggling to come to terms with who he or she is, or bring comfort to anyone who feels alone, or inspire people to insist on their equality, then it’s worth the trade-off with my own privacy."