Jesus is teaching about faith. To ask effectively you must speak what you desire and you must believe that you will receive.
When we seek we must seek in faith so that we will recognize what we are seeking when we see it.
When we knock we must expect the door to be opened and we must be prepared to enter in confidence.