An earthquake of magnitude 6.2 struck southwest of Indonesia’s Aceh province on the island of Sumatra on Tuesday at a depth of 20.3 km, the U.S. Geological Survey (USGS) said.