Tomorrow is Yesterday - S1-E20
Stupidity: The Enterprise is very concerned about John Christopher going back to earth and changing history, but at the same time he has free access to go anywhere in the ship, and all his questions are being answered.
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.