A magnitude 3.8 earthquake that rattled western New York on Monday is the strongest to hit the state since 2002.