Question: why yiddish is similar to german?
Answer: Yiddish is descended from a German dialect (not quite the same one that gave rise to modern standard German, but close). It's not related to Hebrew; however, it has borrowed a huge amounts of words from Hebrew, especially related to the religious and traditional Jewish sphere.