It's taught as though the word choice itself is the issue and that just replacing the word will fix it, when the reality is that it depends on so many other things. What type of word is being repeated? Is it being repeated deliberately? Is the writer even aware that they've repeated the word?