Character Movement Issue

This is the way the animation graph state machine looks when the side-scroller template is generated

How did it turn into what you have now?