Azerbaijan is an ally of Turkey, whereas Armenia has historically been more aligned with Russia. As a result, the west (NATO) is fairly lenient with Azerbaijan when it comes to conflicts between the two countries, or is at least hesitant to intervene.
https://en.wikipedia.org/wiki/2023_Azerbaijani_offensive_in_...