How familiar are you with the situation there, why Turkey wants to invade Armenia, and why remaining Armenians don't want to give it up?
Basically the Armenian Genocide of 1915 and massacre of Greeks in 1918 is tabu in Turkey, and to this day whoever publicly talks about the genocide ends up in jail under the law protecting "Turkishness", unless first killed by the state aligned Bozkurtlar militias. Going back again, in 1920 the Bolsheviks decided to give the majority Armenian Artsakh/Karabakh to Azerbaijan, likely in retaliation to the action of several Armenian independence fighters who were fiercely anticommunist. Talking about denial, right now in Azerbaijan it is forbidden to talk about dead relatives publicly and the number of dead soldiers is secret, as is Alyev hiding in one of his palaces, while the Armenian leadership are always at the frontline, funerals, or in the middle of crowds with few bodyguards. If you think Armenians are the only target just study what they have been doing to the Kurds in the past 10 years.
Sultan Erdogan's megalomania and need to assert power makes him pursue state sponsored hatred against Armenia, with Bayrakhtar TB-2 drones and Syrian mercenaries getting shipped to Azeri lands in addition to supplies. Sadly the drones are mostly assembled using US military suppliers. He knows he has the US and the West by the balls with Incirlik AFB and NATO membership, and the rest of the world with control over the Bosphorus.
IMHO, this is the one topic where the US and Russia will see eye to eye, if you follow the very recent news of Putin's speech about "brutal crimes against Armenia" and both President Trump and Pompeo expressing support for David against Goliath.
Armenia has little to offer in terms of cash while Azerbaijan's dictator and his entourage are bathing in oil profits, but still most of the world sides with Armenia.
To answer your question, Erdogan is testing the waters, what better way to weaken your enemy than organizing a proxy war from the other border? Because self-infatuation and dementia make a dangerous cocktail, he wants to forget about Russia and the US, but he is being watched very closely.
I want to state this clearly, I have nothing against the Turkish people, us Magyars are perceived as friends and brothers by common people there via the Turanian turkic kinship, many voices of reason there are silenced in jails and torture chambers, and common people see the situation more and more clearly but risk death or long jail terms even just for speaking the truth. One day they shall rise again just like in 2016.
Apropos Magyars, here is an Azeri military hero, promoted major after the axe murder of an unknown to him sleeping Armenian officer at a NATO training in Budapest, what the govt did in exchange for oil made me ashamed of being Hungarian:
Ramil Safarov | Wikiwand