Well, it's weird no matter what.
I'm not going to diagnose anyone online (I am not a doctor), but people who are all there aren't going to say anything like that, at least not without more than what this guy had--- dark, quiet street, person he didn't know, plus ticking which the person who was with him didn't hear.
Him claiming later that it was a joke tells me this is not the first time this has happened. Personally, I would suggest to him that he see his doctor. Let the doctor be the bad guy to tell him he's got.... issues.