That text from Bob was completely inappropriate. Your instinct was correct. I had a similar situation with a guy in town texting my W that was probably completely innocent and innocuous but it bothered me, so I called him and politely asked him not to send personal texts to W and that took care of it.
The bottom line is that if it bothers you it needs to be addressed. Check out Pat Love's website, go to the downloads section and download the "Office Spouse" document, you should probably review with W and agree on what's considered acceptable on that list between the two of you.
Married 18, Together 20, Now Divorced M: 48, W: 50, D: 18, S: 16, D: 12 Bomb Dropped (EA, D): 7/13/11 Start Reconcile: 8/15/11 Bomb Dropped (EA, D): 5/1/2014 (Divorced) In a New Relationship: 3/2015