Russian market has been less than 1% of Apple's revenue
European market is 25% Apple's revenue (7% is just App Store revenue)
Russian market is tiny compared to Europe + they were forced to do it via sanctions or risk being sanctioned themselves, so it is easy for Apple to tell we have to leave this market (even that they really did not, otherwise Russians would not be able to i.e. pay for development licenses). Leaving Europe is entirely Apple's decision without somebody forcing their hand.