Local officials said days of heavy snow led to avalanches that buried part of the mountain pass that connects Kabul to the northern city Mazar-i-Sharif .