Why did the Jews hide?

Because the Germans were after the Jews and they wanted to kill them all.

so they tried to hide.