Pete Hegseth warned that allies who fail to do their part for collective defense “will face consequences.”