Where No Man Has Gone Before - S1-E4
Trivia: This was the second pilot for the series, the first pilot being done with Jeffrey Hunter as Capt. Christopher Pike. This is also the first episode that has William Shatner as the famous Capt. James T. Kirk. The episode was made at the request of Lucille Ball, part owner of Desilu Studios, and friend to Gene Roddenberry, because she believed in the franchise.
Trivia: Throughout the series, planets are given a Class rating, most commonly "Class M", suitable for humans. The M is never defined in this series, or TNG, but in Star Trek: Enterprise, S1: E3 "Strange New World", T'Pol says the new planet is "Minshara Class", meaning suitable for humans. Therefore, the classifications for planets used by the Federation were probably determined by the Vulcans.
Answer: Kirk was getting his physical and Dr. McCoy probably turned off communications, because if he hadn't, Kirk would have left and headed straight for the bridge, leaving McCoy irritated.