Why does Pakistan not recognize Armenia as a country?

Cause Pakistan sides with Armenia's enemy Azerbaijan, and Armenia recognizes Kashmir as part of India.