It is not just about terrorism. It is a normal procedure to question people who travel from that region.
Most people traveling from Syria ask for asylum or have no valid travel documents, do not speak English and need some form of help. She could be someone who escaped ISIS and needed help.
Some other example: 20 years ago UK border force would question everyone who was traveling from Czechia. Because 0.1% of travelers from there would ask for asylum.