Military officials say the troops suspected the men were arms smugglers or terrorists planning an attack .