That's because there are fewer letters. In wordle, ignoring the fact that the word need to exists, you could make 5 guesses with 5 new letters each time and still not quite exhausting the letter space. With the math one, in two guesses you can figure out the digits.
Also, I play wordle in the hardest mode, which forces you to always reuse known letters, which makes it a lot harder. (I also playu in a clone with an extended vocabulary here: https://www.arachnoid.com/wordgame/index.html)