how could avians evolve a quadruple walking style?

so i was wondering, how can different birds evolve four legged walking?

bonus question: remember the soft beaked birds from serina? how is that possible exactly?