The two countries have fought two wars over the disputed territory located in the Himalayan mountain valley .