It's wrong to swear at people for any reason.
Jim is returning an item to a store that arrived broken.
Jim wants his money back.
Jim explains simply that the item is broken and asks for a refund.
Jim uses lots of profanity when describing the item's condition and explaining what he wants.
The cashier apologizes, gives him his money back, and tells him to have a nice day.
The cashier gets the manager, who gives him his money back, then bans him from the store.