Mexico was a really important place in the colonial days, while Panama was (and perhaps still is) a shit hole. So the sophisticated Spaniards brought their food habits to Mexico. Like comparing San Francisco to Bakersfield.