My reading of your story is that you decided during an interview that it wasn’t a good fit (totally fair!) and then responded to that situation by rudely provoking your interviewer. If you think that’s an appropriate response in a work setting I would suggest you work on your interpersonal skills.
Your coworkers have feelings and you want them to have positive feelings towards you since that makes it easier to work together. Deliberate rudeness kinda breaks that.