Israel didn't exist yet during WW2, it was just a British colony. Now it's an independent state, and still perpetuates colonialism against arabs. No role switched at any point.
Germany is the second biggest supporter of Israel right after the US. They didn't switch with Israel, they are firmly on the same side.