An earthquake of magnitude 6.2 struck east-northeast of the capital of Tonga in the Pacific Ocean on Monday, the U.S. Geological Survey said.