In particular, you have to consider the equilibrium. If you only allow a subset of words in Scrabble, this replaces the competitive advantage from knowing lots of words that no one uses in real life, with a competitive advantage from knowing the exact contours of the border between acceptable and unacceptable words. I would argue that this is even worse; at least if you learn lots of Scrabble words you're learning something about the real world.
By contrast, Wordle can self-impose whatever constraints they want on solutions, and people don't have to know what those constraints are in order to solve the puzzle. (It can help a little on the margin, which in a perfect world would not be the case, but it's much less of a problem for the puzzle-solving experience than the Scrabble equivalent would be.)
It's obviously an impossible challenge to draw those contours in language. Wordle did pretty well though! And going the other direction, just allowing everything that could possibly a word, just starts getting ridiculous.
With Wordle the limitation is only put on the words the game generates as answers. You can use obscure words to guess, they just won’t be the answer.
The Wordle list of legal guesses is not substantially curated; AFAIK basically all five-letter words legal in Scrabble are on it (except on offensiveness grounds, which was a highly controversial decision). If this were not the case, I predict you'd get user dissatisfaction as per above. Wordle's list of possible answers is much more curated, but that's my point; it can err on the side of conservatism, because users won't notice if a word that they'd expect to be on there is missing, whereas they will notice if such a word is not allowed as a guess.