A 7.3 magnitude earthquake shook the coasts of Mexico and Guatemala on Friday, its epicentre off Chiapas at about 15 km deep.