Why did Germans surrender in world war 2?

The Germans surrendered primarily due to the onslaught of the Russians on the eastern front, the Russians were responsible for the destruction of the wehrmacht and this is why Germany surrendered, the western allies contribution is hugely overstated.