In Star Trek TOS S03:E07 Day of the Dove it is said to be dangerous to beam intra-ship.
Yet in TNG it is common. We even see intra-ship beaming in Star Trek Discovery S1:E08 Si Vis Pacem, Para Bellum.
My question is: Why would they say in TOS it was dangerous to beam intra-ship?