A strong earthquake rocks Italy, flattening towns and killing scores of people. An even bigger quake hits Myanmar the same day, killing a few people and shattering ancient Buddhist pagodas.

How can a larger jolt cause far less damage? A quake's destructive power depends not only on its strength, but also on location, distance from the epicenter and depth.

Quakes can strike near the surface or deep within the Earth. Most quakes occur at shallow depths, according to the U.S. Geological Survey.

Italy's quake was very shallow, originating between 2 1/2 miles (4 kilometers) and 6 miles (10 kilometers) underground, according to Italy's geological service and the USGS. The magnitude measurements also varied slightly — between magnitude 6 and 6.2.

By contrast, the 6.8 quake in Myanmar was deeper — at 52 miles (84 kilometers), which is considered an intermediate depth.

Shallow quakes generally tend to be more damaging than deeper quakes. Seismic waves from deep quakes have to travel farther to the surface, losing energy along the way.

Shaking is more intense from quakes that hit close to the surface like setting off "a bomb directly under a city," said Susan Hough, a USGS seismologist.

While deep quakes may be less damaging, they're usually more widely felt.

Most of the destruction in the Myanmar quake was centered in the tourist town of Bagan where nearly 100 brick pagodas dating back centuries were damaged. The Italy quake devastated three towns, home to medieval structures built before there were building codes. Many buildings were made of brick or stone, which can fall apart during shaking.

"They're very quaint, but they don't withstand earthquakes very well," Hough said.

___

Follow the reporter on Twitter: @SciWriAlicia