An earthquake with a magnitude of 5.8 hit the South Sandwich Islands region on Tuesday, the US Geological Survey (UGS) said.