Impossible to answer. Social cues are tough. It all depends on how it was said and how it was meant - could be a totally innocuous comment or something to be concerned about.
For some people, “why have you not been taken” may mean nothing more than “I really like you and I can’t believe you are available.”
For some people, “why have you not been taken” may mean nothing more than “I really like you and I can’t believe you are available.”