The local governors who were supposed to resist are being pragmatic. Firstly they had their own grudges with Kabul under Ghani and secondly the way allied troops are leaving people who helped them stranded. They are not willing to fight.
It's always been like that in Afghanistan Taliban were once partners with US now enemies, warlords who were enemies of Taliban are joining them.