This was revealed years later in the animated series.

r/startrek: The Next Generation
Star Trek news and discussion. No slash fic...
Maybe a little slash fic.
Rules
1 Be constructive
All posts/comments must be thoughtful and balanced.
2 Be welcoming
It is important that everyone from newbies to OG Trekkers feel welcome, no matter their gender, sexual orientation, religion or race.
3 Be truthful
All posts/comments must be factually accurate and verifiable. We are not a place for gossip, rumors, or manipulative or misleading content.
4 Be nice
If a polite way cannot be found to phrase what it is you want to say, don't say anything at all. Insulting or disparaging remarks about any human being are expressly not allowed.
5 Spoilers
Utilize the spoiler system for any and all spoilers relating to the most recently-aired episode. There is no formal spoiler protection for episodes/films after they have been available for approximately one week.
6 Keep on-topic
All submissions must be directly about the Star Trek franchise (the shows, movies, books, etc.). Off-topic discussions are welcome at c/Quarks.
7 Meta
Questions and concerns about moderator actions should be brought forward via DM.
Upcoming Episodes
| Date | Episode | Title |
|---|---|---|
| 09-03 | SNW 4x07 | “Like Chronitons Through the Hourglass” |
| 09-10 | SNW 4x08 | “Orders of Magnitude” |
| 09-17 | SNW 4x09 | "Once La’An a Time" |
| 09-24 | SNW 4x10 | "Tomorrow's Enterprise" |
| 03-?? | SFA 2x01 | TBA |
Wondering where to stream a series? Check here.
Written by Theodore Sturgeon, who was already known for writing sci-fi with gay subtext, and also wrote Amok Time, wherein Spock satisfies his sex urges by wrestling with Kirk until one of them gets asphyxiated. Absolutely intentional.
I've know for years that there was the whole slash fiction thing with those two, but as a casual viewer of TOS I didn't really get it... but holy shit the look on Kirk's face! Such disappointment!
Yeah lmao I've been watching TOS lately, it's My first time watching all these episodes. Sometimes the 60s are bad, and sometimes there's barely-subtext like this. There's no way this isn't the intended reading. Kirk is horny AF for Spock.
The intended reading was based on the prevalent attitudes of the time, which was that it was inappropriate for a single woman to provide physical comfort to a man. That was his wife's job. The fact that show even had women in positions of authority or responsibility was itself groundbreaking. So his response would be entirely appropriate to be surprised a woman massaged him.
That said, Roddenberry wrote the novelization of the first Trek movie and included this bit, acknowledging that some people saw it like that, but it wasn't the intention.
"Jim! Goodbye, my . . . my t'hy'la. This is the last time I will permit myself to think of you or even your name again."*
*Editor's note: The human concept of friend is most nearly duplicated in Vulcan thought by the term t'hy'la, which can also mean "brother" and "lover." Spock's recollection (from which this chapter has drawn) is that it was a most difficult moment for him since he did indeed consider Kirk to have become his brother. However, because t'hy'la can be used to mean "lover," and since Kirk's and Spock's friendship was unusually close, this has led to some speculation over whether or not they had actually indeed become lovers. At our request, Admiral Kirk supplied the following comment on this subject:
"I was never aware of this 'lovers' rumor, although I have been told that Spock encountered it several times. Apparently he had always dismissed it with his characteristic lifting of his right eyebrow which usually meant some combination of 'such information is not relevant,' perhaps mingled with 'how sad these humans are to feel that this is necessary to explain it.' As for myself, although I have no moral or other objections to physical love in any of its forms, left to me, I have always found my best gratification in that creature called woman. Also, I would dislike being thought of as so foolish that I would select a love partner who came into sexual heat only once every seven years."
That note only added fuel to the slash speculation, in a way that really seems intentional on Roddenberry's part. First he invents a word specifically designed to be ambiguous. Then he has Kirk comment on it at length without ever clearly denying the relationship -- only that he'd "dislike being thought of as so foolish". Along the way he notes that Spock wont confirm or deny it, either, but that the question seems to annoy him.
Kirk's usually a pretty forthright guy, but you ask him about a romance with Spock and suddenly he's talking like a politician.
I took it as him being a troll. It could also be that as an airman, he was taking friendly shots at a navy for being gay. Also something prevalent at the time.