An earthquake measuring magnitude 5.9 hit Guam around 5:37 p.m. Tuesday, based on information from the U.S. Geological Survey.