Questioning and asking are two completely different things, otherwise one wouldn't "ask a question", one would either ask or question.
To question something is to doubt the premises that lead to a given statement. To ask something is to enquire about something. When one has doubts a conclusion (i.e.: questions), one normally asks to ascertain the veracity of the conclusion. This leads to the construct "to ask a question" as in "to resolve a doubt".