Trump has previously sparked criticism for swipes at servicemembers.