Or it might be related to some contract signed after WW2 that US will have that percent of soldiers to protect Germany from internal and external threats.
We too have some American bases in Pakistan. I don't know how long we wil continue to host the Americans, it might piss off China if we keep them for too long.
Here is a map showing worldwide US bases (warning: not 56k friendly)