Germany was under obligation to offer their help. If they had refused, they would have looked bad on the international scene.
Ultimativly the fault lies with the Austria-Hungary and the Russians.
EDIT: Besides, does anyone here even understand how happy the german states were to finally unite...