In these last two miracles, Matthew foreshadows the growing conflict with the Pharisees. While the crowds are excited and amazed, the Pharisees reject Jesus as working with the devil. Ultimately the unbelief of the Jewish leadership will be a crucial part of the story.
A comparison of the miracles of Elijah and Elisha recorded in 1&2 Kings.
Not only was each healing an act of compassion and a foreshadowing of the greater healing to come, each miracle was testimony from God that Jesus is the Christ.