The snow is misplaced - villagers can walk on it, go over the fence and they'll get trapped.
Either remove the snow or make villagers able to use fence gates.