In an earthquake-prone area, which earth material—igneous rock or sedimentary rock—would be better for constructing buildings? Explain your answer.