I would assume that you were bumped because there was a reasonable option to get you to the final destination out of ORD. That may not be the case for everyone making a connection at SFO. BOS-SFO-AKL, for example, isn’t a route you could simply replace with ORD.