if the resource is so limited that it really isn't enough for everyone, then it obviously can not be given to everyone. but if everyone needs it, then they still have a right to it. we then just have to figure out how to deal with those that miss out.
a more practical example: a sinking ship, and the rescue boat can not fit everyone. while it is a human right for everyone to be rescued, some will have to stay behind.
but, that doesn't change that there was a human right violated. in either cases we really do need to do everything in our power to rescue these people or find ways to extend the use of the water.
lack of resources does not abolish our obligation to do the best we can to change that, find alternatives, etc.
a better medicine example: covid. everyone needs that vaccination (ignoring those who don't want it) so it becomes a human right to get access to it. no matter the cost.
we can not abolish a right to something that everyone needs just because there is not enough of it.
as far as i understand it the, definition of human rights includes both but that's an extended discussion.
however on your last point, i would argue that despite the difference, free expression or fair trials do also create a duty or responsibility to provide these.
for every right that is given, there exists a duty to provide or enable that right.
it also works the other way around. if it is a duty to send my kids to school, then i have a right to a school within reasonable distance. if it is a duty to work, then i have a right to childcare. etc.
so no matter how you look at it, right and duty are intertwined and can not be separated.
How far do you take this? If you are dying of a disease, and the only way to prolong your life by one week is a medication that costs $2 trillion in resources to produce one dose, is society obligated to produce the medication to slightly delay your death? What if there is enough to satisfy only 50% of people, how does your ‘rights’-based framework decide who lives and who dies?