The United States imposed sanctions on India and Pakistan after they conducted nuclear weapons tests in 1998 .