A 7.7-magnitude earthquake in Indonesia has killed at least 20 people while tensions also simmer over Iran's control of the Hormuz Strait.