This ties back to resource management which is a big thing in 5e. You took a risk, in adventuring for longer, and then couldn't make it home. In the future, you'll consider the risks of pressing on when you're almost spent, which imo is more interesting than just continuing to adventure until you're out of all resources.
Or you game over because you seriously are spent. How long ago was your last save again? Sucks to be you!
I have had encounters immediately after a long rest which were so crippling - I spent so many spells and used up so many health resources, that I reloaded rather than continue.
This is a tricky thing for an algorithm to balance.