This can be stated in active form. Possible meanings are 1) AT: "that enemies had torn down" or 2) AT: "that people could not get into." (See: [[rc://en/ta/man/translate/figs-activepassive]])
This can be stated in active form. AT: "the people have now rebuilt them and have started living there again" (See: [[rc://en/ta/man/translate/figs-activepassive]])