public resentment over the inability of the government to keep its shores safe had been rising over the past several years in the u.s. despite new government programs , agencies , policies and loss of freedoms .