this is an pathfinding bug that's been more or less persistent in the game. dev has tried fixing it but i guess it still happens.
the only real fix is to hotswap between winter mode and the regular version. the AI thinks the river / lake is iced out so it's trying to cross it because its "faster" than moving around it. by swapping between both modes it causes it to refresh the AI nodes so that it pathfinds correctly.