Mexico's economy minister said the decision was based on Ford's changing demand and its stance towards Donald Trump.