The BMKG said the earthquake occurred offshore.
“The [quake] was detected 18 kilometers northwest of Rangkasbitung,” said BMKG official Rahmat Triyono. "It was caused by friction in the Indo-Australian plates under the Eurasian plates.”
The biggest strike
BMKG noted that the biggest earthquake to hit Indonesia over the past 24 hours occurred near the Central Java town of Jepara.
“The 6.1 magnitude earthquake struck 53 kilometers off [Jepara],” said BMKG Earthquake and Tsunami Mitigation head Daryono.
“The earthquake has been felt as far afield as Sumatra, Bali and Lombok, because it is a deep fault earthquake. In this case, it occurred at a depth of 578 kilometers.”
Indonesia is long known to be vulnerable to earthquakes, volcanic activity, and other natural disasters due to its geographical location in the Pacific Ring of Fire.
(Writers: Hendrik Yanto Halawa, Luthfia Ayu Azanella, Sabrina Asril, Gloria Setyvani Putri| Editors: Abba Gabrillin, Rizal Setyo Nugroho, Sabrina Asril, Gloria Setyvani Putri)
Sources:
https://regional.kompas.com/read/2020/07/08/12260801/rabu-siang-gempa-bumi-terjadi-di-nias-utara.
https://www.kompas.com/tren/read/2020/07/07/145700265/5-gempa-berkekuatan-40-61-m-yang-guncang-wilayah-indonesia-hari-ini?page=all#page2.