This passage can be seen in many ways. I think the simplest explanation of why Jesus healed is that he saw a person and then met the need. This pragmatic lesson not only works with healing or people but can be applied to multiple facets in life.