What is the grammar of "be buried" in the following sentences?:
The graves have all been found under the houses, right under the
floors. And it may be this burial custom that explains why the houses
were packed in so tightly without streets. I mean, you might think it
was for protection or something, but there has been no evidence found
yet of any violent attack that would indicate that kind of danger. It
maybe they wanted to live as near as possible to their ancestors’
graves and be buried near them themselves.
What may be tripping you up is a missed space: I think the last sentence should read, "It may be they wanted to live as near as possible to their ancestors’ graves and be buried near them themselves." Meaning: "The situation may be [that] they wanted to ... be buried near [their ancestors' graves] themselves." (See the second sentence starting with "And it may be...".) As it stands this sentence is ungrammatical.