If you want to ask a girl out, and you have no fear of rejection. You, you have self confidence-confidence.
If you are scared to ask a girl out, Youit is probably because you are shy. Could be many other things but the main reason I believe is shyness.