Any person in Russia mentioning the war in a way that the kgb dislikes is exposed to prison terms. You can't blame people who have to wake up in Russia for not actively pissing off their government via press release?
I'm not disputing the quality of the engineers or other employees at Yandex. So I'm not sure how that's relevant.
Regardless: Arkady issues a press release saying, "This war is fucking Yandex up, we have no idea what's going to happen, earning in ₽ but investments in $ ain't great, and this surely isn't going to increase uptake of Yandex products abroad."
What precisely is that going to do besides land his ass in YaG-14/10?
You know there's a modern proverb in Russian about doing business in Russia:
1. Do not establish any contracts with government.
2. Do not participate in any governmental organizations or organizations created with any support from the government as a member.
3. Do not have any assets in Russia, that can not be instantly moved out.
4. Do not have any business with any person who might be business partners, friends, clients, family of anyone controlling or participating or in any way related to Russian government. Especially the military or the internal security.
5. Do not have any business with any legal entity involving anyone from number 4. If you have to, always demand full prepayment and mind number 3.
6. Do not incorporate any businesses in Russia, whose activity might contradict goals of persons from number 4 or entities from number 5.
7. Do not create any high earning businesses in Russia. Exceptions are businesses based on intellectual property (that can be sheltered outside), or on personal skills/knowledge (that can't be taken away).
8. Never rely that the courts will take your side even in clear cut cases. Also never rely on any number of qualified lawyers telling you what you are doing is legal in Russia. No matter what the law says, the court can at any time decide otherwise.
9. Never let your business do anything unusual, if it is offered by any entity from numbers 4 and 5, even if (and especially when) certain preferential treatment is offered.
10. Never end up in situation where an immediate and irreversible need to leave Russia is impossible, or complicated, or would have high cost, or would threaten other people. Even if you are precisely following the rules 1-9.
Yandex definitely violates quite a few. Regardless, I can't imagine Yandex had a choice: between the data residency laws, and the Russian government's views on foreign investment, I don't think they could have kept their servers abroad.
Certainly after the theft of vk from Durov everyone knew what the deal is.