Global warming causes glacial melt which changes stresses on tectonic plates. Readjustment to said stresses can cause earthquakes. Nobody knows whether this can only cause shallow earthquakes, or whether it could cause deeper ones to trigger as well. But there has been a significant increase in both earthquakes and major earthquakes over the last few decades, and it is possibly connected.