A good DM should, but creators cannot design a subclass based on the assumption that a DM will behave in a certain way. The focus on the non-combat aspects of the game is important, because there’s no guarantee that a DM will include the specific creature-type or terrain that a ranger favors in a campaign. This is because Dungeons & Dragons has a larger mechanical focus on combat, so that is where most balancing issues appear. These bonuses do not give combat bonuses, they are entirely focused on the social and exploration pillars of the game. These give bonuses when interacting with enemies of a certain type and travelling through a certain type of terrain.
Notable among these are the ability to choose a favored enemy and a favored terrain. The ranger class has a lot of decision points at the beginning of its progression.