It's a meaningless, feel-good rule. Every country has countless carve-outs. To give you a trivial example: in the US, you can't get a passport if you owe more than $2,500 in child support.
Whilst I agree, to be fair, a passport is usually only needed when entering a country, not leaving one, right? Under the cited rule, the US needs to allow you to leave, not help you in entering some other country.
You generally do present your passport when leaving. Most places you get an exit stamp (which matches your entry stamp). They usually confirm things such as not overstaying a visa.
ex:
overstaying in Thailand results in a on-the-spot fine
China lately has exit checks when traveling to SEA (they try to intercept people traveling to scam centers)
That's mostly because transport companies have to pay to ship you back if you get turned away at the border, so they will want to see your permission to enter your destination country before you leave. I've traveled internationally a fair bit and I've never had to show my passport to government officials when leaving the US.
Ok, fair enough, but if I were German - I don't really think I would asylum anywhere on the basis of Germany maybe intending to conscript me in the future.