It really is a skill & a set of knowledge. You can't expect to be good without practice (sometimes lots of practice).
At the beginning it is things like mistaking whipping cream for heavy cream, not knowing what "browned" looks like, or other "rookie" mistakes that basically translate to "not actually following the recipe".
As you get more ambitious, you start to tackle things like baking that require an intuition for how much to knead, how sticky is too sticky, etc.
Or you start to try recipes that run many things in parallel. Last time I made chicken sauteed in butter, each step was easy enough, but suddenly they have to be done in parallel and the sauce has to be done before the chicken and the potatoes need to be ready at the same time and everything has to happen fast... That was the moment I felt I really understood "cooking", when the timer for the sauce timer was beeping and the chicken was smoking and the potatoes were getting cold.