It comes from learning a TECHNIQUE, which then becomes an accomplished skill through repetition and practice.
Learning a technique means that you understand the ‘why’ as well as the ‘how’. Learning how all the pieces of the puzzle fit together so you can arrange them correctly to build a picture that makes sense.
It is very difficult to be skilful at anything if you have no technique.
Do you have a technique for your riding and training that you can practice?