I’m not a politician nor I defend most of them in general but do you expect that people would not hoard them when everyone was (back then) panicking at a new extreme deadly virus?
So the easiest solution (not necessarily the best) was to do politics which is to deceive. If a country says that the masks are very effective yet only selected people will get them, even if it makes sense factually speaking, riots will ensue because that’s how masses work (in most big countries anyway). If you deceive, you gain time and everyone will eventually get their own masks, which is how it played out.
Hopefully I don’t get shunned by this. I’m just trying to illustrate that plain transparency at extreme situations may just not be an easy option as you put it.
Edit: wording