It's illegal in 8 states; unclear in 18; even if it was illegal in all of those it would be a slim majority, not “almost every state”.
https://bikeleague.org/content/bike-law-university-sidewalk-...