Well with all respect to the girl off-course the Taliban didn't shoot her because of her ideas about educations but of promoting Secularism (According to the Taliban). You have to be nuts to think that anyone would shoot someone for promoting education, however shooting someone for any reason is nuts.
Actually no. The Taliban both in Afghanistan and in Pakistan has continually targeted schools, girls attending schools, and those teachers who would dare to admit girls into their premises. Government schools are routinely set on fire, shot at, bombed, and the teachers threatened, abducted, and murdered. There is one particular instance that I won't forget. It detailed a burning school and in front of it a tree from which hung a charred lump of flesh. It was the principal of the aforementioned school who had dared to admit girls into his school. It was one of Musharraf's more well received policies when he opened a greater number of government schools for girls and provided extensive security to protect them from the TTP. There is a reason why Pakistan suffers from some of the highest rates of illiteracy among women.
For reference I am a Pakistani, half of my family originates from the NWFP, and my grandmother was a principal that ran a all girls government school.
Malala was targeted, at least according to most of the Urdu news stations I saw last, because she kept a detailed diary during the period when the Taliban controlled parts of her town. Due to her immense popularity among a Western audience and the greater Pakistani community at large the Taliban considered her a very valuable target.