Answer:
The were accused of killing Reinhard Heydrich, a German in charge of Bohemia and Moravia. Hitler wanted to teach them (citizens of Lidice) a lesson, so he planned to kill all of them. It turns out, it was a different Lidice that was guilty! That is the reason the people suffered. For nothing.