Trump has linked the tariff hike to immigration

If Mexico does not do more to halt illegal immigration into the US the 5% tariff will jump to 25% (in steps) by October 2019