To try them. Life is a trial. Prophet Jesus (a) made the truth clear. Those who sincerely followed him knew the truth.
Just like Islam. Why did the Prophet (s) not kill the hypocrites or kick them out of the city? The Qur’an tells us there were many hypocrites in and around Medina. The answer is: to try this Ummah