Expat service providers cant be rude with Nationals so they take out their anger on Expats like themselves.
Having said that, you should not have used the trolley if you were not going to make any purchase. And he could have put it mildly to you instead of being rude like you said.
I have had it from cart operators in Souq Wakra. So i know my place in this country as Expat.