Why Ajit Doval released Masood Azhar?

Because Doval and his Son had business interests in Pakistan