Im guessing Pashinyan is afraid of being alone as russia has proven to be a weak ass b**** and iran is in a dire situation at least for the next 15-20 years.
Seeking better relations is also better for armenia i'm guessing he hopes by having good relationsship that erdogan can influence Ilham...