Ever since 1961 the United States has been shoveling in turks and muslims into Germany partly to bastardize the people which increase loyalty/subservience to the United States (a bastardized people will have nothing to unite under beyond consumerism, which is the #1 product of America) and partly to act as a pressure valve for Israel as they expanded (this became more utilized in recent decades). Since the 2010's this has only increased exponentially from the church, NGO's, and Israeli humanitarian groups.
Most ethnic Germans under 30 worship browns in the status of godhood; arabish words have begun to seep into every conversation in Germany among the youths habibi, brudi, etc. Most boys under 18 idolize Andrew Tate, thug culture, and third-worldist arab masculinity. If they don't go down that path they become incredibly passive, feminine, and squeamish; this plays into the same mindset of supporting arabs.
In the current order the most pro-Israel party is perhaps the AfD, they even have Israeli IDF soldiers within their party ranks as tokens; yet liberal jews and their golems have kept them out of power and locked them out of the establishment (see firewall coalition) and have made any public support of them, in west germany anyway, incredibly taboo. The only people I know who publicly 'support' the afd are American soldiers stationed here who see it as 'German Trump Party' but they can get away with it because they're literally occupation forces (also a disclaimer, I don't think the AfD are a solution to anything, they're just another pressure valve).
Over all, this isn't Germany "backstabbing" you. If you weren't so obsessed about bastardizing Germans and mixing them out of existence you would have had a very loyal ally, but for some reason you were hell bent on dumping the entire middle east here under the assumption they'd leave their ethnic support of Hamas at the door.