Every time a creature takes damage, that damage is subtracted from its hit points. The loss of hit points has no impact on a creature’s abilities till the creature drops to 0 hit factors.
It makes a lot feeling, https://crithitceramics.com/mastering-ranger-backgrounds-in-dd-5e-tips-for-beginners/