A moderately strong, 5.1-magnitude earthquake struck in Japan on Tuesday, according to the United States Geological Survey.