They worry that they'll be wedged on national security if they vote against it and then there is an incident. Their opponents will aggressively label them soft on terrorism and the 'reason' the attack couldn't be stopped.
Meanwhile, if they vote for it, they annoy the few people paying attention or who have strong feelings about it. Low risk in the short term.