Was he being flirty?

My supervisor asked me a question, and I answered him in a way that could be interpreted in a sexually suggestive way, but I totally did not mean it that way. So I stopped what I was saying and laughed mid way. So he asked me the question again with a wink, why did he do that? Was I out of line

Was he being flirty?
Post Opinion