This is due to the middle conflicts… which could be endangering the F1 teams and also there will be less ppls travelling this this 2 places which could hurt the tickets sales and other commercial activities.
As long as other F1 locations not impacted by the war, the races would have still go...