Imagine not implementing blocking walls in Counter Strike, "just don't walk through walls, it would make the game less fun and why would you ruin the experience for yourself like that?".
This is a case where not hiding the word list was done because it was easier to implement Wordle this way. Engineering-wise, it's not elegant, it's a cop-out.