On the paper random encounter is good idea but in game it's just annoying.
When you go to rest your HP is usually low and a random attack will probably wipe your party. Constantly F5 + F8 every time you rest is not funny.

The game has one big problem. You can't make game for few thousand people if you create AAA (or even AA).
This is the reason why the game has so many changes from D&D like fast travel etc.
In modern RPGs, spell limit per rest is a dead system. The most popular systems have automatic resource recovery outside combat like mana regeneration or cooldown.
You can find a lot of complaints on the internet about rng combat even when Larian lowered the AC of many opponents.
Game requires a lot of compromises if Larian wants to avoid failure like PoE2.
I think unlimited long rest is a good compromise between automatic spell recovery after combat and rules of D&D.
Maybe they should make short rest unlimited, but with recovery of all spells.