History of Europe

What geographic reason might explain why when Poland gained its independence after the war it a strip of land that split Germany into two parts?

Poland gained its independence after the war in 1918 but the strip of land that connected Poland to the Baltic sea was not at the expense of Germany. The land called the Polish Corridor was German land but Germany had lost the war so was forced to give up territory.