With Trump it is difficult to tell bluster and carney-barker showmanship from serious consideration or actual intention. While clearly a threat, the remark may have been intended only to intimidate, and the ascription of cowardice to the Mexican army only ill-bred.
http://fredoneverything.org/invading-mexico-more-brilliance-from-washington/