if there were any discrepencies in your job application, for instance, if you did not list even just one of your past workplaces, or if you have been convicted of a crime, and lied on the question, or anything else that was not accurate, is the most common reason for being told you had the job and then not get hired. otherwise you should question why and go from there because that sounds quite fishy..