The Lord could not perform miracles there not because He was powerless, but because those people were unbelieving. Sparing them, He does not perform miracles, lest they serve for the greater condemnation of those people as unbelievers even in the presence of miracles. On the other hand, miracle-working requires, first, the power of the one performing it, and second, the faith of those receiving the miracle. Since the second of these conditions was lacking here, that is, the faith of those in need of healing, it was not fitting for Jesus to perform miracles. And so we should understand that the... evangelist's expression "and He could not" is used in place of — He did not see fit to. The Lord taught not only in the cities, but also in the villages, so that we might know that we too ought neither to neglect the small towns nor constantly visit the large cities, but that we must sow the word even in insignificant places.
Source: Commentary on Mark