She started dressing more conservatively, wearing a scarf that covered nearly all her face, and became more devout in her Muslim faith, according to some who knew her in Pakistan.
But her path from there to the bloody events of this past week - when she and her husband slaughtered 14 people in a commando-style shooting rampage - remains a mystery.
FBI officials, family lawyers and others said they know little about the 29-year-old housewife and mother, apart from what came to light on Friday: that Malik had pledged allegiance to the Islamic State group on Facebook as she and her American-born husband, Syed Farook, 28, went on the rampage.
The turn in the investigation raised a host of questions, among them:
• If it happened before Malik came to the U.S., did counterterrorism authorities miss any warning signs when they investigated her before approving her visa?
• Which of them was the driving force in the attack?
Natana DeLong-Bas, an assistant professor of theology at Boston College, said the case should cause people to rethink some of their assumptions about extremism.
"We always seem to assume only a man would be capable of making a terrorist attack," DeLong-Bas said. "Because we know so little about Tashfeen Malik, it's possible she might have been the main organizer in this event and talked her husband into doing it."
Husband and wife were killed in a furious shootout with police hours after they armed themselves with assault rifles and opened fire on a gathering of Farook's colleagues from the San Bernardino County health department, where he worked as a restaurant inspector. The FBI said it is investigating the rampage as a terrorist attack.
Hundreds of FBI employees are working the case, interviewing people, gleaning information off the internet, conducting searches and analyzing evidence, bureau spokeswoman Laura Eimiller said.
Early on Saturday, authorities with guns drawn raided a home next door to the house where Farook's family used to live in Riverside, California, breaking windows and using a cutting torch to get into the garage, neighbors said.
The FBI would not say what it was looking for, but a neighbor said an old friend of Farook's lives there. More than three years ago, that person bought the two assault rifles later used in the shooting, but authorities haven't been able to talk to him because he checked himself into a mental hospital after the attack, said a law enforcement official who was not allowed to discuss the investigation and spoke on condition of anonymity.
The FBI has said the man is not a suspect in shootings, though they want to question him.
US officials said that Farook been in contact with extremists via social media, but one official said those contacts were not recent and did not involve any significant players on the FBI's radar.
Farook was born in Chicago to Pakistani parents and raised in Southern California. Malik arrived in the US in 2014 on a Pakistani passport and a fiancee visa but had spent extended periods of time in Saudi Arabia.
She started studying pharmacy at Bahauddin Zakariya University in the Pakistani city of Multan in 2012.
A relative of Malik's in Pakistan, Hifza Batool, reported hearing similar things from other family members about Malik, her step-niece.
The Farook family attorneys, David Chesley and Mohammad Abuershaid, said none of his relatives had any indication either Farook or his wife held extremist views. The lawyers described Malik as "just a housewife" and cautioned against rushing to judgment.

