 In the network TV version, during the sickbay scene where the young Ensign  dies, we find out that the Ensign is actually Scottys nephew, thus  explaining Scottys emotional state. In a version that aired on AMC, the  relationship between Scotty and the Ensign is established in a scene where  Kirk is inspecting the Engineering section. He and the Ensign have a spirited  discussion, afterwards Scotty mentions in a light