The U.S. Secretary of War Pete Hegseth said both India and Pakistan would continue to view each other through the prism of security concerns