There can be many reasons depending on the individual’s circumstances. A common reason for failure despite hard work is lack of proper guidance, not understanding the requirement of the exam etc.