The Rite

Michael Kovak (Colin O'Donoghue), disillusioned with his father, a mortuary owner, decides to enter a seminary school and abdicate his vows upon completion, thereby getting him a free college degree. Four years pass and Michael is being ordained to the diaconate at the seminary. However, after ordination he writes a letter of resignation to his superior, Father Matthew, citing a lack of faith. Father Matthew (Toby Jones), apparently wanting to talk Michael out of his decision attempts to catch up to Michael on the street. He trips as he walks over a curb, causing a biker to swerve into the path of an oncoming car. The young woman, believing Michael to be a priest after seeing his clerical garb, asks him for absolution. Unable to refuse, Michael comforts her and performs the ritual absolving her sins. Seeing how calmly he handled the situation, Father Matthew tells Michael he is called to be a priest, whether Michael believes this or not; he later approaches Michael with an invitation to travel to Rome in order to attend a class on exorcism. Michael reluctantly accepts after being told by Father Matthew that he will be levied a $100,000 student loan if he leaves immediately, but that if he still desires to resign from his position after taking the class, then he may be free to leave.During classes, he meets a young woman, Angelina (Alice Braga), who is also taking the course. He soon learns that she is a reporter who has been asked to cover the course for an article in a newspaper. Realizing Michael is a skeptic and is very tentative in his faith, Father Xavier (Ciarán Hinds) later asks Michael to see a friend of his, Father Lucas (Anthony Hopkins), who is a renowned Welsh Jesuit exorcist. Michael agrees and meets Father Lucas at his home, where he sees one of the priest's patients: a pregnant sixteen-year-old girl. It is later revealed that she was raped by her father, which led to her possession. However, Michael remains skeptical, even after witnessing several preternatural events, such as the girl coughing up three long nails and fluently speaking English. She pointedly reminds Michael of the last patient he performed embalming on and of his loathing for his father. He later speaks with Angelina again, who asks him to relay the information that he gets from Father Lucas to her, as she has tried to get an interview with him many times now but has been refused, and Michael declines. Meanwhile, the possessed girl's condition worsens, which prompts Father Lucas and Michael to have her taken to a hospital for further care. There, Father Lucas performs another exorcism on the girl while Michael observes; they leave the hospital room together with Michael leaving the hospital and Father Lucas staying overnight outside of the girl's room. Late that night, she miscarries, and the baby dies from cardiac arrest and the mother via blood loss. Disheartened, Father Lucas feels he has failed her. After Michael sees this he decides to confer with Angelina.After the death of the young woman, Father Lucas begins behaving strangely, exhibiting signs of demonic possession. Michael and Angelina later find him sitting outside of his house in the rain. Father Lucas takes them into his house and, knowing himself to be possessed, tells Michael that he needs to find Father Xavier in order to perform the exorcism. Angelina and Michael try desperately to contact and find Father Xavier; however, they learn that he is out of contact for 3 days. Learning this, Michael decides to perform the exorcism on his own, with Angelina present. After constant rebuking by the demon and a long, drawn out fight, Michael regains his once lost faith and is able to force the demon to reveal its name, which is Baal. He completes the exorcism and the demon leaves Father Lucas. Successful, Michael leaves Rome, returning to the United States and to his life.The final scene of the film shows Michael, now Father Michael Kovak, entering a confessional and beginning to hear a girl's confession, revealing that he has found his calling as a priest and did not resign.

Question: Why did Michael resign after being ordained?
Answer: Lack of faith.