It is from the Spanish word mecha, which means "wick" because of the way the beef's lard resembles a candle.