Israel says the West Bank barrier is needed to prevent Palestinian suicide bombings , and the number of attacks has dropped sharply since it began constructing it in the most vulnerable areas three years ago .