I'm interested in reasons for Jesus's constrained ability to perform miracles in his hometown in Matthew 13 but not surrounded by hostile people in the synagogue in Matthew 12.
I describe more here:
Why was Jesus's ability to perform miracles affected by unbelief? : cruciformity
The people of his home town believed something about Jesus, so what were they believing?
Belief can be used in a very broad term.
It is confusing when Jesus can and cannot do miracles, but you have to think about it put yourself in the situation and keep the context in mind.
Why did Jesus not heal everyone on earth at the time he was on earth?
Did he heal to make a sick person will or was there additional reasons?
Did Jesus have to be next to the person being healed and if not why did he not at those occasions?
What unbelief is Jesus talking about with: “Jesus said to them, “Prophets are not without honor except in their own country and in their own house.”
The people of his hometown (and the region) had already heard of the great things he had been doing down in Judea and other places and now he was coming home. “Wow, what is the home town boy going to do for us?” (We deserve more that those snobs down in Judea.)
What I have seen is: “If you think you deserve something from Deity and are not willing to accept it as a charitable gift it cannot be given to you”. You would honor God by humbly accepting His gift as pure charity and not something you felt in the least you might deserve. Christ could do stuff after they realized He was not going to reward them for being part of his home town.
People are always wanting to know what they will or can get out of any change, instead of rejoicing with others given charity.