It is indeed beyond confusing, but there is no evidence that you did something wrong. He might be a very weird person. You might never learn why he behaved that way.
I invite you to choose to be happy that this confusing incident happened early on, before you developed any feelings for the gentleman. You are not invested yet, but it still hurts. Imagine how badly it would have hurt had he ghosted after your becoming invested. It could have been far worse than it is now.