A sales tax measure that would have brought in millions of dollars for much-needed infrastructure improvements failed. Here’s why.