You could have gained your abilities and skills as any other skill in similar fashion as we inherit most of our physical and psychological traits (or disposition toward them at least ).
Or something within your environment triggered the skill as survival technique and as way of adaptation .It can be also combination of both to a different degree .You know your heritage the best and your environment ,so you need to find out by analyzing both of those and observing them .Different skills develop to different degree in different people and we learn about our traits and skills by observing their expression .
Controlling a skill that is physical is done through exercise and by manipulating the environment ,with psychological traits ,skills and character is far more complex ,because they are not always simply a product of genes and environment .They can be influenced not only by those ,but also from our emotions and all that is stored in our subconscious and unconscious .
There is not short cut to any type of control it requires self-knowledge and freedom of Will .Even so gaining knowledge over subconscious processes is not easy and many deem it as impossible to full extend .
In short there is not simple answer to your questions we can provide for you .You need to take initiative to discover how all those factors apply to you as individual withing your specific life circumstances and environment .