Was my supervisor flirting or being a jerk?

I always let my supervisor know that I have finished the work and will go onto the next department to work. This time, he seemed like he was in a good mood when I walked into the room, I grabbed his attention and his friend was in there too. I told him that I finished the work and he eyes me out with a smirk and replies “ Good job”. It sounded sarcastic, and his friend started to laugh. So I replied back with the same energy ( sarcastic) and they both laughed. What’s going on?

Was my supervisor flirting or being a jerk?
Post Opinion