The letters are known as [Call signs](https://en.wikipedia.org/wiki/Call_signs_in_the_United_States), and are given out by the FCC.
Originally, they were given out randomly, with the only rule being that transmitters in the west half of the US started with K and the East half started with W.
That rule still stands, but stations are allowed to choose the rest of the letters now.
Latest Answers