Not wanting to cast His pearls before swine (Matthew 7:6) or to make a spectacle in front of unbelievers (Matthew 13:58), Jesus expels all but the girl's parents. By clearing the room of an excessively noisy, grieving crowd, He brings privacy, peace, quiet, and stillness to the situation.
In addition, these neighbors and curiosity seekers had already seen His mighty works, and He does not want God's gift to be considered mere entertainment. He never meant His miracles to coerce belief or amaze humanity. Nevertheless, He is quick to intervene when misery and suffering need to be relieved and people need to be exposed to God's glory.
Jesus resurrects Jairus' daughter in the presence of five appropriate witnesses: the father, mother, and only three of His disciples, Peter, James, and John. To establish the miracle's veracity, He uses two unconverted people and three who were being converted (Deuteronomy 19:15; II Corinthians 13:1).
Martin G. Collins
The Miracles of Jesus Christ: Resurrecting Jairus' Daughter