'Badmouthing' US 'unacceptable': National security adviser