I do agree that the ranger characters tend to enjoy themselves. Its more a matter of rangers being "fine" while the others are "good". If you watch a ranger in battle, you'll see them doing fine. If you compare them to a fighter or paladin or barbarian in battle, you'll see the fighter/paladin/barbarian being a bit better at no apparent cost. The ranger comes in 4th place. But it isn't by too much, so it's not like a ranger is unfun or a liability. It just works out to being a bit below the others no matter what you do, assuming all things equal. This is exasperated by the beast master class having so many problems and highlighting how the Ranger needs a good subclass to keep up with the others enough to stay in 4th place.I want someone to be able to articulate what is wrong with the ranger. I have never seen a good explanation for why everyone always hates it. I have run many, many games of 5E and never seen a player pick the Hunter Ranger and not enjoy their character.
So like the actual Rangers of LotR? Aragorn's abilities are all because he is the True King. There are tons of commando rangers in LotR, not least Faramir.In 1E, the ranger was more like the WW2 commando (“Rangers lead the way”) than Aragorn.

(Dungeons & Dragons)
Rulebook featuring "high magic" options, including a host of new spells.