I have no doubt that bike shops are buried by DIY folks who get in over their heads. It's no wonder that sometimes they let their irritation predict the interaction with the next customer.
However: It's never a good business strategy to be gruff with a customer.
However (Part 2): I'd rather have a gruff competent mechanic than a happy friendly sort who doesn't know what he or she is doing.