Okay, but the current Merz cabinet pushing for the first picture comes from a grand coalition composed of the Christian Democratic Union (CDU), the Christian Social Union (CSU), and the Social Democratic Party (SPD). It officially took office on 6 May 2025 after Friedrich Merz was elected Chancellor by the Bundestag.
So in part it is the Socialists who are pushing this, along with the CDU and CSU and the AfD are not even in power.
Although I do agree that Germany is in a messed up state. Especially economically. So the push for extra military spending is their attempt at being like the USA and try to pump up their economy that way. Bad idea IMO. The year really does make it, though.
https://en.wikipedia.org/wiki/German_economic_crisis_(2022%E2%80%93present)